View previous topic :: View next topic
|
Author |
Message |
rikdeb
New User
Joined: 19 Jan 2009 Posts: 63 Location: hyderabad
|
|
|
|
Hi all..
There are few characters like Å, ø etc generally used by Danish people in their name.Correct hex code for them is Å – 67, Ø – 80 , If we view thru default host code page 037 US in mainframe.Ideally these characters should reflect same hex code in all host code page version. But if we use host code page like (Denmark 277) these hex values changes to Å – 5B, Ø – 7C.
Ideally it should be same as in 037 US. Is there a way to handle it to keep the hex same in all page version thu JCL or some way. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Correct hex code for them is Å – 67, Ø – 80 |
This statement is FLAT-OUT WRONG! There are no "correct hex codes" for any characters -- there are merely the characters assigned in a particular code page. The values assigned in one code page are not the same as assigned in another code page, but that does not make one set right and one set wrong -- it just makes them different.
And what you want to do is not possible. Character hex values in one code page cannot be used to replace character hex values in another code page -- you either use the entire code page AS IT IS, or you do not. You do not get to pick and choose. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Quote: |
You do not get to pick and choose. |
which seems a bit inconvenient but if that is the way it is then that is the way it is! However, you could go to IBM and ask if they could provide a tailored code page for you or provide a code-page tailoring facility. But whether such a thing could happen would, I guess, depend on how the code pages are processed within z/OS. |
|
Back to top |
|
|
|