IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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: 8696
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: 2455
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts Count the number of characters in a f... CA Products 1
No new posts File Handling COBOL Programming 9
No new posts Handling the numeric data in unstring... COBOL Programming 18
Search our Forums:

Back to Top