Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Coverting ASCII to EBCDIC via FTP on MVS Host

Status
Not open for further replies.

wossilat

Programmer
Mar 21, 2002
8
DE
Hello together,

i have a little problem and hope anyone can help me.
I must receive a ascii file from a unix host to store it on an mvs-host. First problem is that the file is line-sequential und some data in the records looks like an CR/LF, so when i transfer it in TYPE A the file on the mvs-host has more CR and the records are damaged.
So i transfer it in TYPE I an WRAP the records fix after 255 byte.
No i have an ascii fle on the mvs-host and must converted it in ebcdic. An ascii to ebcdic converter works fine on that file but uses a lot of cpu-time.
So i had the idea to translate it via ftp on the same host.

he ftp statements looks like these:

USER
PASSWORT

TYPE A

GET ASCII-FILE 'EBCDIC-FILE-NAME'
quit

But it won't work. The new file is not converted

Does anyone know waht i did wrong ??

Thanks for your help

Regards

Ludger
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top