Page 1 of 1

FTP: Converting files

PostPosted: Wed Apr 26, 2017 8:27 pm
by horchstein
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

Re: FTP: Converting files

PostPosted: Wed Apr 26, 2017 8:51 pm
by NicC
Not so much a Java question but an FTP question - topic moved.