Re: FTP a file with text and comp-3 data in it from AIX to MVS (or the other way)
From: Rick Saylor (rsaylor_at_AUSTINCC.EDU)
Date: 10/26/04
- Previous message: Adams Kevin J: "Re: Lsuser Not Reporting Correctly"
- Maybe in reply to: Bill Verzal: "FTP a file with text and comp-3 data in it from AIX to MVS (or the other way)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 26 Oct 2004 13:03:47 -0500 To: aix-l@Princeton.EDU
Bill,
I bet the file on MVS contains EBCDIC, not ASCII, and comp-3. FTP knows
about the EBCDIC and will translate it to ASCII, but it fouls up the comp-3
data. In BIN mode, FTP just sends the data and doesn't translate the EBCDIC
to ASCII. Because you are dealing with comp-3 data you need to use bin
mode. So, you can either translate the EBCDIC to ASCII on the mainframe or
on the AIX box. But it sure looks like you will have to write a program or
script to do it. Whatever does the translation will need to know where the
comp-3 fields are so that it can ignore them.
Rick Saylor
Austin Community College
At 11:23 AM 10/26/2004, you wrote:
>Hi *,
>
>I have a user that is trying to get a file ftp'd from AIX to MVS. The file
>contains both ASCII and comp-3 numeric fields in it.
>
>If we go ASC mode, the ASCII data is transferred OK, but the comp-3 data is
>garbage. If we go BIN mode, the ASCII data is garbage, but the comp-3 data
>is garbage.
>
>Anyone know a fix for this ? We've tried some dd commands and even changed
>the transfer mode on the MVS side via 'quote' commands - but we're no
>closer.
>
>Thanks in advance,
>
>Bill.
>
>
>-------------------------------------
>There's no place like /home
>
>
>Bill Verzal
>Project Leader, Komatsu America
>
>(847) 970-3726 - direct
>(847) 970-4184 - fax
----------------------------------------------------------------------------
Rick Saylor Austin Community College Voice: (512)223-1182
Director of System Services 9101 Tuscany Way Fax: (512)223-1211
Information Technology Austin, Texas 78754
- Previous message: Adams Kevin J: "Re: Lsuser Not Reporting Correctly"
- Maybe in reply to: Bill Verzal: "FTP a file with text and comp-3 data in it from AIX to MVS (or the other way)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|