which codepage is used?



IBM OS/370, MVS, OS/390, Linux, TPF, VM/CMS, VM/ESA, VSE/ESA, z/VM, z/VSE, z/OS, z/OS.e etc...

which codepage is used?

Postby Mike1304 » Sat Oct 01, 2011 9:21 am

Hi,

I wonder, what codepage we are using on our z/Os.
Is there a place, where I can see the name of the codepage?

Mike
Mike1304
 
Posts: 36
Joined: Mon Feb 28, 2011 4:14 pm
Has thanked: 0 time
Been thanked: 0 time

Re: which codepage is used?

Postby dick scherrer » Sun Oct 02, 2011 9:18 am

Hello,

Why does this matter? Is there some problem? If so, post the problem, not the curiousity.

Which codepage on which platform/product?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: which codepage is used?

Postby Mike1304 » Sun Oct 02, 2011 1:01 pm

ok, but I think it doesn't help:

I use the 3rd party product M/Text CS running in Websphere Application Server under AIX on a server.
The manual and the support are very poor.

This product produces AFP files in EBCDIC on the server, which are transferred (binary FTP) to the z/OS host and printed there.
Special characters are not correct, e.g. sign "ü" is shown as sign "{" (or "}", I do not remember exactly).

In the configuration of the product, I find codepage and encryption parameters.
The codepage looks like the names of the codepage of the fonts, the encryption is named e.g. cp1252.
This looks similar to a CCSID, therfore I want to test some others, e.g. 1140, 1401, 850.

==> So if I can find out what CCSID my z/OS is using, I do only have to make one test for that.

PS: is 1252 a CCSID of a z/OS or is it from a Win PC?
maybe I try cpUTF8 first, because UTF8 is the codepage of the server!
Mike1304
 
Posts: 36
Joined: Mon Feb 28, 2011 4:14 pm
Has thanked: 0 time
Been thanked: 0 time

Re: which codepage is used?

Postby dick scherrer » Sun Oct 02, 2011 1:12 pm

Hello,

ok, but I think it doesn't help:
When you ask a question, it is best to simply provide the requested info - you may not think it can help, but very often it does. . .

Suggest you speak with whoever supports JES on your mainframe or possibly someone in network support.

How are these files transferred to the mainframe?

is it from a Win PC
I suspect it may not be a pc, but rather an aix/unix system.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: which codepage is used?

Postby Mike1304 » Sun Oct 02, 2011 2:12 pm

Thanks for your answer!

How are these files transferred to the mainframe?
=> by FTP-Batch running on z/OS with type binary

Do you know, if 1252 is definitely not a z/OS CCSID?

best regards
Mike1304
Mike1304
 
Posts: 36
Joined: Mon Feb 28, 2011 4:14 pm
Has thanked: 0 time
Been thanked: 0 time

Re: which codepage is used?

Postby BillyBoyo » Sun Oct 02, 2011 2:15 pm

1252 is Latin-1 for Windows.


Google gave me this from IBM support.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: which codepage is used?

Postby Robert Sample » Sun Oct 02, 2011 5:45 pm

Do you know, if 1252 is definitely not a z/OS CCSID?
z/OS systems can handle 1252, however since 1252 is an ASCII-based code page (ISO-8859-1 with some variations), it is not a native code page for z/OS. IBM-1047 is the "typical" z/OS code page although there are others that could be used.

You might be able to achieve what you want by using the FTP translate function, which allows you to specify the sending and receiving CCSID values. If you are using FTP on the z/OS system, you really need to contact the site support group to find out what translation tables have been set up for FTP already -- and especially if you need one added.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: which codepage is used?

Postby steve-myers » Sun Oct 02, 2011 6:30 pm

Robert Sample wrote:... you really need to contact the site support group to find out what translation tables have been set up for FTP already -- and especially if you need one added.
Ah, but the IP claims he is doing a binary transfer, which does not do character translation in FTP. Another translation issue is AFP data is a mix of EBCDIC character data and true binary data, so one does not want to translate this data unless it is clearly understood where binary ends and and character starts and for how long.

A binary transfer of AFP data to a mainframe will not work unless some additional post transfer work is done on the data after the transfer. Sometime in the 1990s I tried this game and never got the transfer and fixup right.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: which codepage is used?

Postby BillyBoyo » Sun Oct 02, 2011 7:37 pm

If you are creating the EBCDIC on AIX with 1252, binary FTP to the mainframe and getting the "wrong" print characters for "specials", why don't you run the print job on the mainframe with the 1252?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: which codepage is used?

Postby steve-myers » Mon Oct 03, 2011 3:09 am

Another option might be to alter the program inserting the offending characters into the output to insert the "correct" characters.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Next

Return to Operating Systems