On Wednesday, 06/14/2006 at 11:18 AST, Nash <[EMAIL PROTECTED]> wrote:
> Has anyone noticed other characters getting mistranslated when ftp
> uploading to z/OS? I had some trouble with ASCII punctuation in a C
> program-- e.g., the `_' character was coming through untranslated and
> the 0x5F code point isn't valid for a C program. I ended up using perl
> and iconv to convert the file to codepage 1047 on my workstation and
> then uploading the files in binary mode.

I can only suggest that someone has altered the z/OS translation table.
0x5F in ASCII should be translated by all translation tables to 0x6D
EBCDIC.

If "SITE XLATE xxxxxxxx" or "SITE SBDATACONN xxxxxxx" (e.g. STANDARD)
isn't working, you can go direct to the iconv translations by specifying
"SITE SBDATACONN (1047,819)"  The first number is the host code page, the
second is the workstation.

Codepage  819 = ISO 8859-1, Latin 1 = Unix/Linux
         1252 = Windows (Western)
          850 = OS/2
          437 = MS DOS
         1047 = POSIX EBCDIC
           37 = US English EBCDIC
          500 = International EBCDIC
          923 = ISO 8859-15, Latin 9 (ASCII)
          924 = ISO 8859-15, Latin 9 (EBCDIC)

And zillions more.  (Yes, Virginia, ASCII has as many code pages as
EBCDIC.)  You can read a bit about TCP/IP code pages at
http://www.vm.ibm.com/euro/TCPIP.html.

You can look at some of the zillions at
http://www.ibm.com/software/globalization/cp/cp_cpgid.jsp.

Alan Altmark
z/VM Development
IBM Endicott

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to