> From: [EMAIL PROTECTED]
> All this to say that I expect that when my emulator and ISPF are in sync that 
> with my emulator set to CP-278 Finnish that I could type $ (aka x'67') and it 
> would treat it as a $-sign even though the hex value is different from CP-37.

Code pages give me a headache, but I think I know what's going on in the 
situation you describe and I'll try to explain it.

In most cases, it is the 'appearance' of a character that's important and not 
what the underlying hex value is. For example, if a dollar amount is to be 
displayed on an ISPF panel the amount should be prefixed with a dollar sign. It 
should *not* be prefixed with an umlaut or square bracket or any other 'weird' 
character. Because the dollar sign might display differently on different code 
pages, the developer of the application has to make sure he doesn't simply 
hard-code a dollar sign to be displayed. Instead, he has to make sure the 
dollar sign is translated to whichever hex value causes a dollar sign to be 
displayed in different countries.

In contrast to the above, it's the underlying hex value and *not* the 
appearance of characters that's important when it comes to 'national 
characters' that are used in data set and member names. For example, North 
America uses '@#$' as characters in data set and member names, but the 
appearance of these characters is not what's important. Instead, it's the 
underlying hex value that matters. For example, in code page 37 (North 
America), a dollar sign is hex '5B'. In code page 278 (Finland), a dollar sign 
is hex '67'. ISPF accepts hex '5B' as a character in a data set or member name, 
but does NOT accept hex '67'. Instead, if you want to create a member in 
Finland that uses hex '5B' you would have to enter the 'Å' character instead of 
the '$' character. 

In summary, your statement above is correct. When ISPF and your emulator are 
both using CP-278, the dollar sign is indeed treated as a dollar sign. But it 
just so happens that a dollar sign isn't a valid character to use in a member 
name if you're in Finland.

I hope this helps?

Dave Salt

See the new SimpList(tm) rollover image at:
http://www.mackinney.com/products/SIM/simplist.htm



_________________________________________________________________
Try Chicktionary, a game that tests how many words you can form from the 
letters given. Find this and more puzzles at Live Search Games!
http://g.msn.ca/ca55/207

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to