On Fri, 1 Mar 2013 09:16:50 -0800, Ed Jaffe wrote:
>On 3/1/2013 9:05 AM, Joel C. Ewing wrote:
>> Depending on the FTP defaults on both z/OS systems, you might need
>> both "site" and "locsite" to control both translation from EBCDIC at
>> sender and translation back to EBCDIC at the receiver.
>
>Yup. That was it!
>
Which moved me to an experiment:
ftp> quote site sbdataconn=(IBM-1047,UTF-8)
200-Some characters cannot be translated between UTF-8 and IBM-1047
200 SITE command was accepted
ftp> get foocopy
local: foocopy remote: foocopy
229 Entering Extended Passive Mode (|||36359|)
125 Sending data set /u/user/foocopy
0 0.00 KiB/s
557 Data contains codepoints that cannot be translated
ftp>
ftp>
ftp> quote site mbdataconn=(IBM-1047,UTF-8)
200 SITE command was accepted
ftp> get foocopy
local: foocopy remote: foocopy
229 Entering Extended Passive Mode (|||36360|)
125 Sending data set /u/user/foocopy
0 0.00 KiB/s
557 Data contains codepoints that cannot be translated
What IBM-1047 codepoint cannot be translated to UTF-8?
My data were:
user@MVS:130$ od -x foocopy
0000000000 B415
0000000002
I think it's broken.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN