On 03/13/2012 03:11 AM, Hunkeler Peter (KIUP 4) wrote:
Try quote site sbdataconn(IBM-037,ISO8859-1) before your get or put command. This tells the ftp server what translation to apply.If it help, find out what is setup at your location. Have a look at the FTP data configuration file (http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/f1a1b4a0/18. 3?SHELF=f1a1bkc0&DT=20100607113411) -- Peter Hunkeler
And if appropriate, you can make the sbdataconn value shown above the FTP default for your installation in TCPPARMS. When I last checked, the default FTP translation table not only handled some characters "incorrectly" for us, but was not even a one-to-one mapping for 8-bit characters, so that FTP transmission of 8-bit text to z/OS and then back to the original non-EBCDIC system could result in changed characters from the original.
In some cases you might want to specify the code set IBM-1047 rather than IBM-037. There are unfortunately [at least] two conflicting EBCDIC-based code sets in common use on z/OS: IBM-037 for applications from the 3270 tradition, IBM-1047 for applications from the C Language or UNIX tradition, mainly differing in code points for brackets, caret, and not sign.
-- Joel C. Ewing, Bentonville, AR [email protected] ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

