IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

Handling of special characters like Å, ø,


 
IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: :: View next topic  
Author Message
rikdeb

New User


Joined: 19 Jan 2009
Posts: 63
Location: hyderabad

PostPosted: Sun Jul 28, 2013 2:03 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8566
Location: Dubuque, Iowa, USA

PostPosted: Sun Jul 28, 2013 4:07 am
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2429
Location: Hampshire, UK

PostPosted: Sun Jul 28, 2013 4:40 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Converting Hex to PD Special Condition SYNCSORT 3
No new posts Handling abend to prevent termination CICS 0
No new posts CICS Web services Assistant - Handlin... CICS 3
No new posts special characters pipes "|"... COBOL Programming 1
No new posts COBOL Student learning COBOL File Han... COBOL Programming 3

Back to Top