FTP a file with text and comp-3 data in it from AIX to MVS (or the other way)
From: Bill Verzal (BVerzal_at_KOMATSUNA.COM)
Date: 10/26/04
- Previous message: Andrew Townsend: "Re: join not joining more then 9 lines"
- Next in thread: Rick Saylor: "Re: FTP a file with text and comp-3 data in it from AIX to MVS (or the other way)"
- Maybe reply: Rick Saylor: "Re: 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 11:23:00 -0500 To: aix-l@Princeton.EDU
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
- Previous message: Andrew Townsend: "Re: join not joining more then 9 lines"
- Next in thread: Rick Saylor: "Re: FTP a file with text and comp-3 data in it from AIX to MVS (or the other way)"
- Maybe reply: Rick Saylor: "Re: 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
- Re: FTP a file with text and comp-3 data in it from AIX to MVS (o r the other way)
... use zoned numeric instead of comp-3. ... Most MVS shops have something
suitable kicking around. ... > I bet the file on MVS contains EBCDIC, not ASCII, and
comp-3. ... > about the EBCDIC and will translate it to ASCII, ... (AIX-L) - Re: FTP a file with text and comp-3 data in it from AIX to MVS (or the other way)
... I bet the file on MVS contains EBCDIC, not ASCII, and comp-3. ... In
BIN mode, FTP just sends the data and doesn't translate the EBCDIC ... (AIX-L) - Re: FTPing COMP-3 data from mainframe to UNIX
... is but there is a erroneuos read as far as the COMP-3 data is ... When i ftp
this file to UNIX in BINARY mode, ... ASCII, *all* the data in each record are converted
to ASCII, but that should ... The ftped data in UNIX is being read using a cobol program.
... (comp.lang.cobol) - Re: regular expressions
... for that matter) ASCII, you could serialize it to ASCII, then re-read the ...
ASCII data back into an in-memory Java string, and check if you still have ... into
the database, but didn't perform the same mapping when checking them ... (comp.lang.java.programmer) - Re: Comp-3
... ASCII has nothing to do with it. ... A hex F, A, C, or E in the last
nibble indicates a positive number, D and B ... PIC S9V99 COMP-3 ... (comp.lang.cobol)