Forgot about that. It depends. I tried with windows being the client
and it did work, that is I got the file transfered down and it was in
Unicode, big endian. However write/wordpad had a problem reading the
file with the file, it seem to know that it was Unicode, but I think it
assumed little endian. Surprisingly notepad (and notepad++) read it
fine and correctly identified it as Unicode big endian. So I guess it
depends on what application is reading the file and how it may handle it
unicode big endian. I used:
bin
quote type U 2
quote site notrailingblanks
When I did the get before issuing the notrailingblanks I got an error
telling me that I had to issue this command.
Charles Mills wrote:
Specifically, take a look in the archives at a thread from July, 2004 called
"FTP doings under the covers."
Charles
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]
Of Charles Mills
Sent: Friday, September 01, 2006 5:57 PM
To: [email protected]
Subject: Re: Converting data into Unicode
Can't you fool FTP? I'm sure I have done this trick (although not in the
OP's specific situation).
Tell both sides it's a binary transfer.
Then tell the server only (with QUOTE UCS2) to translate to the desired
character set.
Charles
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]
Of John S. Giltner, Jr.
Sent: Friday, September 01, 2006 5:44 PM
To: [email protected]
Subject: Re: Converting data into Unicode
Does not matter. If the ftp software (either the client or the server)
on the HP-UX box does not support it, it won't work.
Both the client and server must support the data stream that is being
transfered. When you an ASCII file transfer this tells both the server
and client that the data will be in "virtual telnet ASCII". When you do
binary, this tells both sides that the data will be in a 'stream of bits'.
If you say UCs2 then both sides know that the data will be un Unicode
format. If the boths sides don't support this, it won't work.
Charles Mills wrote:
Ah! Can you initiate the FTP from HP-UX and get the z/OS server to do the
translation? Like the respondent who got it to work from Windows?
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html