CoZ SFTP codepages

General discussion of the Co:Z Toolkit
Post Reply
cjpete8
Posts: 13
Joined: Thu Aug 08, 2013 10:11 am

CoZ SFTP codepages

Post by cjpete8 »

Is there a list anywhere of some of the valid codepage(s) that can be set in clientcp or servercp?
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: CoZ SFTP codepages

Post by dovetail »

Co:Z SFTP supports three different encoding sources:

1) z/OS Unicode Services.
If you specify the codepage as a 1-5 digit CCSID, then it will try to look it up using z/OS Unicode System services.
If you don't specify a CCSID, we try to look up the code page name using the iconv list (see below) to find the CCSID.
It is a little complicated, but you can build your own z/OS Unicode Services tables and even specify the "technique"

2) iconv codepage names.
If we are unable to find the codepage using z/OS Unicode Services, we try to use the iconv() library function.
Also, if you specify a name that has a leading "_", we will only try using iconv().
A list of iconv codepages can be listed by using the command: "iconv -l"

3) IBM FTP translate tables (single byte)
- this is specified using the "trtab" option. A special built-in table is available, trtab=STANDARD, which is the same as the IBM FTP
TCPIP.STANDARD.TCPXLBIN table.

Also note:
- Currently we only support single-byte encodings except for UTF-8
Post Reply