FTP: Converting files

Linux on System z, Linux on zSeries, Linux/390, zLinux, z/Linux, z/VM & UNIX Shell services. IBM OS/360, OS/370, MVS, OS/390, TPF, VM/CMS, VM/ESA, VSE/ESA, z/VSE, z/OS.
Locked
User avatar
horchstein
New Member
Posts: 1
Joined: Wed Apr 26, 2017 6:28 pm

FTP: Converting files

Post 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
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: FTP: Converting files

Post by Robert Sample »

Do NOT post on multiple fora -- many of the same people who respond there also respond here. Topic locked.
Locked

Return to “zLinux, USS and other Operating Systems for Mainframes.”