FTP: Converting files



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

FTP: Converting files

Postby horchstein » Wed Apr 26, 2017 8:27 pm

Hello,

we make our first experiences with Java on the Host.

We run a java-program that created an output-file. Now we want transfer this output-file back to "the host MVS".

This works for us:
1) First we convert this file from "iso8859-1" to "ibm-273"
cat $datAusList ! iconv -f iso8859-1 -t ibm-273 > $datAusList.CONVERT


2) Second, we transfer this converted file to MVS:
tso -t "oget '"$datAusGes.CONVERT"' '"$3"' text"


The unsightly of this is that we first must vonvert and the we transfer the converted file - so we need double harddisk-space.

To avoid double harddisc-space we tried the following:

tso -t "oget '/var/0521/tmpFiles/RS090_V990590_67109068/SYWB99P.RHKC2016.LVA24.AUSGES.CONVERT' 'SYWB99P.RHKC2016.LVA24.AUSGES' text CONVERT('SYS1.LINKLIB(BPXFX100)')"


So in one step we transfer and convert the file. But on MVS the file is "corrupted".
The problem doing this is the "character_conversion_table". I think we need another character_conversion_table.

On this page - there are a lot of character_conversion_tables:
https://www.ibm.com/support/knowledgece ... 4__pawel08

I think we need FROM "ISO8859-1" TO "IBM-373" table --> <prefix>I1EB
But where can i find this table? Because this table is not source shipped.
Can i download this table? Or must i pay for it? Or does someone have a better idea how i can transfer and concert a file from zLinux back to MVS?

Thank you very much
Best regards
Tom
horchstein
 
Posts: 1
Joined: Wed Apr 26, 2017 8:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: FTP: Converting files

Postby NicC » Wed Apr 26, 2017 8:51 pm

Not so much a Java question but an FTP question - topic moved.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post