On Sat, 2 Mar 2013 08:52:28 -0600, Bill Godfrey wrote:
>>
>>>> ftp> quote site mbdataconn=(IBM-1047,UTF-8)
>>>> 200 SITE command was accepted
>>
>>>> ftp> get foocopy
>>>> local: foocopy remote: foocopy
>>>>    ...
>>>> 557 Data contains codepoints that cannot be translated
>
>It would have worked if you had also used this command:
>
>quote site encoding=mbcs

Indeed, this works.  Thanks:

Remote system type is MVS.
ftp> 
ftp> quote site encoding=mbcs
200 SITE command was accepted
ftp> quote site mbdataconn=(IBM-1047,UTF-8)
200 SITE command was accepted
ftp> cd /...
ftp> get foocopy
local: foocopy remote: foocopy
229 Entering Extended Passive Mode (|||37878|)
125 Sending data set /...
     4        0.42 KiB/s 
250 Transfer completed successfully.


This is way more complicated than it needs to be!  I ought
need only to tell it:

    site dataconn=(IBM-1047,UTF-8)

... and it should infer from the code pages mentioned all the
"SBCS"/"MBCS"  information it needs.

Thanks again,
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to