Re: How to change the ISPF code page?
In [EMAIL PROTECTED], on 07/22/2008 at 11:56 AM, Edward Jaffe [EMAIL PROTECTED] said: Content-Type: text/plain; charset=ISO-8859-1; format=flowed So far so good. Content-Transfer-Encoding: 7bit That's only valid for 7-bit data, e.g., ASCII. For 8 bit data, e.g., ISO-8859-1, you need, e.g., 8bit, base64, (bletch!) quoted-printable. It figures. The characters got munged by email. The characters were never correct. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) -- 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
Re: How to change the ISPF code page?
In [EMAIL PROTECTED], on 07/22/2008 at 05:23 PM, Gerhard Postpischil [EMAIL PROTECTED] said: They're both wrong G Mine are x'BA' and x'BB', and they work wonderfully. With or without GE? And for what software? As I recall, some software expects BA/BB while other software expects AD/BD. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) -- 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
Re: How to change the ISPF code page?
In [EMAIL PROTECTED], on 07/22/2008 at 02:54 PM, Patrick O'Keefe [EMAIL PROTECTED] said: They may helped us out by giving us a non-standard default keyboard map. My advice would be to run a TPUT and VTAM buffer trace to see what data are actually being sent, then take it from there. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) -- 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
Re: How to change the ISPF code page?
Maybe this was already mentioned inthe thread, but I've been verifying effects of the changes to Terminal type by looking at the output from man commands issued from an ISHELL panel (in addition to viewing the macros mentioned). Square brackets look great there. But not so the square brackets I enter from my keyboard. I'm using PComm with Session parameters - Host Code-Page set to 1047. It was probably mentioned somewhere in this thread, but I don't know if that specification effects both keyboard mapping and display or just display. The square brackets that display correctly are x'AD' and x'BD'. These are their code points in CP1047. This is the default for the z/OS UNIX shell and utilites. So, as long as the terminal emulator is set to CP1047, they'll show up as expected. The square brackets from PComm are x'B0' and x'6A'. I've seen the brackets assigned to various code points in various code pages, but I could not find the code page that maps then to x'B0' and x'6A'. Does anybody know which code page this might be? I know I can change the keyboard mapping. Sure, but as far as PComm is concerned you would use the keyboard mapping tool and there you only assign characters visibly, i.e. you select from a list or you type them in. I've not seen a place where you can specify a hex value to be sent. IHMO, PComm will use the current Windows code page for the ASCII side (i.e. your keyboard) and the Host Code Page setting to translate from the character typed to the hex value to be sent to the host. If you open the keyboard utility, what character is shown as being the character assigned to the bracket keys? '¬' and '¦'? -- Peter Hunkeler Credit Suisse -- 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
Re: How to change the ISPF code page?
They're both wrong G Mine are x'BA' and x'BB', and they work wonderfully. These are their code points in CP037. I'm working with CP0500, so mine are at x'4A' and x'5A', and believe me, they work wunderfully, too. It's simply a matter of consistent code page settings ;-) (Simply is a slight understatement, I admit.) -- Peter Hunkeler Credit Suisse -- 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
Re: How to change the ISPF code page?
On Mon, 14 Jul 2008 11:32:39 -0400, Gerhard Postpischil [EMAIL PROTECTED] wrote: ... I sympathize, having just worked through some bracket incompatibilities with special software, but what would the keyboard look like? Eight shift keys or worse ? g ... Speaking of bracket incompatabilites, ... Maybe this was already mentioned inthe thread, but I've been verifying effects of the changes to Terminal type by looking at the output from man commands issued from an ISHELL panel (in addition to viewing the macros mentioned). Square brackets look great there. But not so the square brackets I enter from my keyboard. I'm using PComm with Session parameters - Host Code-Page set to 1047. It was probably mentioned somewhere in this thread, but I don't know if that specification effects both keyboard mapping and display or just display. The square brackets that display correctly are x'AD' and x'BD'. The square brackets from PComm are x'B0' and x'6A'. I know I can change the keyboard mapping. Is that what others have done, or is there some other more standard technique? Pat O'Keefe -- 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
Re: How to change the ISPF code page?
Patrick O'Keefe wrote: I'm using PComm with Session parameters - Host Code-Page set to 1047. It was probably mentioned somewhere in this thread, but I don't know if that specification effects both keyboard mapping and display or just display. The square brackets that display correctly are x'AD' and x'BD'. The square brackets from PComm are x'B0' and x'6A'. Ummm The default United States keyboard mapping in PCOMM does not define square brackets ... The left bracket key is defined as: Base: ',' Shift: '{' Ctrl: [ESC] Alt: [pass] AltGr: [dead] CtrlShift: [pass] The right bracket key is defined as: Base: '' Shift: '}' Ctrl: [GS] Alt: [pass] AltGr: [dead] CtrlShift: [pass] You must have defined them yourself -- to the wrong values! -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: How to change the ISPF code page?
Edward Jaffe wrote: It figures. The characters got munged by email. Corrections are noted below: The left bracket key is defined as: Base: ',' -- This is supposed to be the NOT symbol (like a backwards L rotated left 90 degrees) Shift: '{' Ctrl: [ESC] Alt: [pass] AltGr: [dead] CtrlShift: [pass] The right bracket key is defined as: Base: '' -- This is supposed to be a broken vertical bar Shift: '}' Ctrl: [GS] Alt: [pass] AltGr: [dead] CtrlShift: [pass] -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: How to change the ISPF code page?
In a message dated 7/22/2008 1:54:49 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: It figures. The characters got munged by email. Corrections are noted below: Probably a code page problem? **Get fantasy football with free live scoring. Sign up for FanHouse Fantasy Football today. (http://www.fanhouse.com/fantasyaffair?ncid=aolspr000520) -- 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
Re: How to change the ISPF code page?
On Tue, 22 Jul 2008 11:51:00 -0700, Edward Jaffe [EMAIL PROTECTED] wrote: ... Ummm The default United States keyboard mapping in PCOMM does not define square brackets ... ... You must have defined them yourself -- to the wrong values! ... While that is a reasonable assumption, I think I'm innocent this time. It's in the default keyboard map ... as downloaded to my PC by our wonderful corporate software distribution system. This is a seriously ammended (mostly pruned) PComm 5.5 They may helped us out by giving us a non-standard default keyboard map. They're nice that way. Pat O'Keefe -- 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
Re: How to change the ISPF code page?
Patrick O'Keefe wrote: The square brackets that display correctly are x'AD' and x'BD'. The square brackets from PComm are x'B0' and x'6A'. They're both wrong G Mine are x'BA' and x'BB', and they work wonderfully. When IBM introduced the 327x, they should have used the codes assigned to the TN train for common values, but that was too much work for them? Gerhard Postpischil Bradford, VT -- 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
Re: How to change the ISPF code page?
Patrick O'Keefe wrote: While that is a reasonable assumption, I think I'm innocent this time. It's in the default keyboard map ... as downloaded to my PC by our wonderful corporate software distribution system. This is a seriously ammended (mostly pruned) PComm 5.5 They may helped us out by giving us a non-standard default keyboard map. They're nice that way. If you go into the keyboard utility and change the base value for the [ and ] keys from whatever they are now to '[' and ']' respectively (including the surrounding apostrophes), it should work no matter what code page you use. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: How to change the ISPF code page?
On Tue, 22 Jul 2008 17:23:04 -0400, Gerhard Postpischil [EMAIL PROTECTED] wrote: ... The square brackets that display correctly are x'AD' and x'BD'. ... They're both wrong G Mine are x'BA' and x'BB', and they work wonderfully. ... Use of characters in a codepage work wonderfully within that codepage. Amazing how that works. :-) Pat O'Keefe -- 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
Re: How to change the ISPF code page?
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Lindy Mayfield Sent: Friday, July 11, 2008 4:38 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? I believe this also explains why it was so difficult for all of us to agree. We all have different expectations of how things should work. You'd think it would be (ok _I_ would think it would be) all or nothing and not just used here and there. Makes me wonder. Will IBM get it all worked out so that everything understands the different code pages? Or will they go all Unicode? Or more of the same. I vote for Unicode. I am really beginning to despise EBCDIC and all the other ad hoc stuff to support multiple character sets. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. -- 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
Re: How to change the ISPF code page?
McKown, John wrote: I vote for Unicode. I am really beginning to despise EBCDIC and all the other ad hoc stuff to support multiple character sets. I sympathize, having just worked through some bracket incompatibilities with special software, but what would the keyboard look like? Eight shift keys or worse ? g Gerhard Postpischil Bradford, VT -- 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
Re: How to change the ISPF code page?
Gerhard Postpischil wrote: McKown, John wrote: I vote for Unicode. I am really beginning to despise EBCDIC and all the other ad hoc stuff to support multiple character sets. I sympathize, having just worked through some bracket incompatibilities with special software, but what would the keyboard look like? Eight shift keys or worse ? g Gerhard Postpischil Bradford, VT I've been trying for a couple of years now to interest someone with deep pockets to go after this: http://www.artlebedev.com/everything/optimus/ It's a keyboard where everykey is a changeable image. My concept is to have sets of keys that could be easily switchable, each set covering a subset of the Unicode mapping. So you could choose, say, English for your everyday keyset; then if you had a need to enter some Japanese, just load the mapping for a subset of the Japanese characters you want by selecting from a menu on the keyboard, type away, then switch back to your everyday keyset. People might make money building and selling specific keysets for the keyboard. I think it's viable, but would take some time, energy, and money to develop. From the same website: http://www.artlebedev.com/everything/optimus-tactus/ scroll down and look at the options. Kind regards, -Steve Comstock The Trainer's Friend, Inc. 303-393-8716 http://www.trainersfriend.com z/OS Application development made easier * Our classes include + How things work + Programming examples with realistic applications + Starter / skeleton code + Complete working programs + Useful utilities and subroutines + Tips and techniques == Check out the Trainer's Friend Store to purchase z/OS == == application developer toolkits. Sample code in four== == programming languages, JCL to Assemble or compile, == == bind and test. == == http://www.trainersfriend.com/TTFStore/index.html== -- 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
Re: How to change the ISPF code page?
On Mon, 14 Jul 2008, Gerhard Postpischil wrote: McKown, John wrote: I vote for Unicode. I am really beginning to despise EBCDIC and all the other ad hoc stuff to support multiple character sets. I sympathize, having just worked through some bracket incompatibilities with special software, but what would the keyboard look like? Eight shift keys or worse ? g Gerhard Postpischil Bradford, VT Naw, just have a keyboard which works for the most common characters that you use. There are a lot of such. The software needs to be changed to emit Unicode instead of whatever it is doing now. For unusual characters, you might need some sort of compose key, or a way to enter the character numerically. Eg. My keyboard does not have a yen sign. In Unicode, the yen is +U00A5. So I'd need to press the Unicode key, followed by 00A5 to enter a yen symbol. -- Q: What do theoretical physicists drink beer from? A: An EIN stein. Maranatha! John McKown -- 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
Re: How to change the ISPF code page?
John McKown wrote: numerically. Eg. My keyboard does not have a yen sign. In Unicode, the yen is +U00A5. So I'd need to press the Unicode key, followed by 00A5 to enter a yen symbol. And on my PC I enter Alt and three digits to create Umlaute and a sharp s, but it is laborious that way, especially when you need two or more languages concurrently. Gerhard Postpischil Bradford, VT -- 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
Re: How to change the ISPF code page?
Is it possible that Lindy needs to add translation tables to ISPF? I acknowledge my ignorance wiht this ISPF topic. I still don't have a clue what this translation behind the various terminal models is intended for. Is it a relict from the time when real 3270 terminal were standard? Isn't this obsolete today when everybody is using terminal emulator software? Is it correct that this translation is only applied when displaying data on the terminal but not when writing data from the terminal? (This is at least what I seem to see). What does it translate? I tried several combinations ISPF terminal type vs. emulator-CP but the more I try the more it confuses me. I admit that, for once, I'm too lazy to RTFM. So if anyone is willing to briefly explain a case, I'd appreciate. Otherwise I'll add it to my for a lazy rainy sunday to-do list. -- Peter Hunkeler CREDIT SUISSE -- 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
Re: How to change the ISPF code page?
everyone is NOT using those damned emulators I've got 4 each 3178 dumb terminals in my office (each config-ed for 4 sessions) each directly connected to the m/f bmo vtam and guess who's real popular all of a sudden when the internet access goes belly up? this has been a good thread thanks to all who contributed; I learned a bunch /s/ tuco bonno graduate, College of Conflict Management; University of Southeast Asia; I partied on the Ho Chi Minh Trail - tiến lên !! -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Hunkeler Peter (KIUK 3) Sent: Friday, 11 July, 2008 08:24 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Is it possible that Lindy needs to add translation tables to ISPF? I acknowledge my ignorance wiht this ISPF topic. I still don't have a clue what this translation behind the various terminal models is intended for. Is it a relict from the time when real 3270 terminal were standard? Isn't this obsolete today when everybody is using terminal emulator software? Is it correct that this translation is only applied when displaying data on the terminal but not when writing data from the terminal? (This is at least what I seem to see). What does it translate? I tried several combinations ISPF terminal type vs. emulator-CP but the more I try the more it confuses me. I admit that, for once, I'm too lazy to RTFM. So if anyone is willing to briefly explain a case, I'd appreciate. Otherwise I'll add it to my for a lazy rainy sunday to-do list. -- Peter Hunkeler CREDIT SUISSE -- 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 -- 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
Re: How to change the ISPF code page?
everyone is NOT using those damned emulators You won't believe it but I was thinking about adding a (well probably most of the people) parenthesis to the everybody. Didn't mean to imply anything against still using good old hardware -- Peter Hunkeler Credit Suisse -- 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
Re: How to change the ISPF code page?
Here is what I think I know about such things, and also may be a clue as to why I do not understand what is going on between my emulator and ISPF. It's also horribly mind twisting. First what I think happens before any fancy encoding or translations. If I have my emulator set to CP-37 (or CP-1047) and I type a $-sign on my keyboard then the hex value of the character that the mainframe sees is of course x'5B'. So if I enter some code that has a $-sign in it then the compiler sees the $-sign as x'5B' and all is well. If I change my emulator's code page to Finnish, for example, which is CP-278 and I type a $-sign on my keyboard then the hex value of the character that the mainframe sees is x'67'. If I use the $-sign in some code then the compiler sees x'67' and generates a syntax error. In CP-37 / CP-1047 x'67' shows up as the Swedish Oh (aka A-ring) which looks like this: Å An Å _in CP-37_ in a member name or code as x'67' isn't valid. And the same with CP-278, a $-sign in a member name or code as the same x'67' isn't valid. It goes the other way, too. If I have my emulator's code page set to Finnish CP-278 I may look at a list of members in SYS1.MACLIB and this member: IXZÅXPL I have the national characters (@$#) memorized and know that in reality the Å is x'5B' which means to MVS it is really a $-sign. Conversely, I know if I am reading some instructions for CP-37 and it says to enter a $-sign that I enter Å because what it really wants is x'5B' and doesn't care what I see. All the long winded explanation above is how things normally behave. The characters that cause problems are called variant characters because these characters vary across different code pages. The list of variant characters are: ! # @ { } \ [ ] | $ ~ ¦ Here is the code page for CP-278 for Finland/Sweden and if you compared this to all the others you'd see that they all match except for the above characters. http://www-03.ibm.com/systems/i/software/globalization/pdf/cp00278z.pdf Dealing with just the national characters is usually ok, but when you get to code that has braces an brackets and pipe characters it not only gets confusing, but in many cases the character isn't even on the keyboard. Now with encoding... Some products, SAS for example, have a sort of character-WYSIWYG translation. They know that if you say you are using German or Finnish or Italian to switch what it expects for a hex value so that it matches what the user sees. So if in Finnish I need a $-sign, I just type in $ and everything is fine - even though it is x'67' and not x'5B'. Again my apologies for being windy, but this is hard to grasp, at least for me. 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. This appears not to be the case, either because I'm doing something wrong or I have understood what should happen incorrectly. So where did I go wrong? Thanks! Lindy -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Hunkeler Peter (KIUK 3) Sent: 11. heinäkuuta 2008 15:24 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Is it possible that Lindy needs to add translation tables to ISPF? I acknowledge my ignorance wiht this ISPF topic. I still don't have a clue what this translation behind the various terminal models is intended for. Is it a relict from the time when real 3270 terminal were standard? Isn't this obsolete today when everybody is using terminal emulator software? Is it correct that this translation is only applied when displaying data on the terminal but not when writing data from the terminal? (This is at least what I seem to see). What does it translate? I tried several combinations ISPF terminal type vs. emulator-CP but the more I try the more it confuses me. I admit that, for once, I'm too lazy to RTFM. So if anyone is willing to briefly explain a case, I'd appreciate. Otherwise I'll add it to my for a lazy rainy sunday to-do list. -- Peter Hunkeler CREDIT SUISSE -- 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
Re: How to change the ISPF code page?
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
Re: How to change the ISPF code page?
Dave, We are exactly on the same page here. I know this is difficult. To summarize: - In data it matters what the character looks like. If I write Jäätelötötterö into a field then it needs to be the correct letters with matching hex values depending on the code page. (As John M. pointed out) - When it comes to, say, ISPF, it is the hex character that matters. For example if a member name needs a $-sign then doesn't matter what the character looks like, it must be x'5B'. - The exception to the above rule is in come compilers. They know which language they are in and so use the appropriate hex value so that the characters are correct. The hex value would change from language to language. Question: Which of the above is true and in what way (or, what changed and in what way) when we finally got ISPF to learn the code page from the emulator? (Which is stored in ZTERMCID). Here's what I think now. Absolutely nothing changed. Points 1 and 2 are still in effect. The _ONLY_ thing that changed is that ISPF knows the code page and ZTERMCID is filled in. ISPF itself doesn't do anything with that info. Sorry to beat this almost dead horse, but I'm so close now I really want to understand. Lindy -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Dave Salt Sent: 11. heinäkuuta 2008 21:38 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? 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 -- 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
Re: How to change the ISPF code page?
Lindy Mayfield wrote: Here's what I think now. Absolutely nothing changed. Points 1 and 2 are still in effect. The _ONLY_ thing that changed is that ISPF knows the code page and ZTERMCID is filled in. ISPF itself doesn't do anything with that info. Whaat??!! Clearly, ISPF classifies characters as being majuscule, minuscule, numeric, or other (special) based on this information. Otherwise, it would have no way of knowing how to perform case conversion, how to process various FIND command options, etc. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: How to change the ISPF code page?
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Edward Jaffe Sent: Friday, July 11, 2008 3:21 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Lindy Mayfield wrote: Here's what I think now. Absolutely nothing changed. Points 1 and 2 are still in effect. The _ONLY_ thing that changed is that ISPF knows the code page and ZTERMCID is filled in. ISPF itself doesn't do anything with that info. Whaat??!! Clearly, ISPF classifies characters as being majuscule, minuscule, numeric, or other (special) based on this information. Otherwise, it would have no way of knowing how to perform case conversion, how to process various FIND command options, etc. -- Edward E Jaffe True. Customizing it is talked about here: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZPC60/5.8 -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. -- 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
Re: How to change the ISPF code page?
Sorry that this keeps (at least for me) going round and round and round. Please, just tell me one example of what ISPF does with a different code page. -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Edward Jaffe Sent: 11. heinäkuuta 2008 23:21 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Lindy Mayfield wrote: Here's what I think now. Absolutely nothing changed. Points 1 and 2 are still in effect. The _ONLY_ thing that changed is that ISPF knows the code page and ZTERMCID is filled in. ISPF itself doesn't do anything with that info. Whaat??!! Clearly, ISPF classifies characters as being majuscule, minuscule, numeric, or other (special) based on this information. Otherwise, it would have no way of knowing how to perform case conversion, how to process various FIND command options, etc. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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 -- 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
Re: How to change the ISPF code page?
Truly I'm not trying to be argumentative in any way. Honestly I'm trying to understand. My emulator is set to CP-1047. I'm in ISPF with caps off. I enter this: åä 7300 Then I turn caps on and get this: åÄ 4644 7300 One uppercases the other doesn't. If I do the same with my code page set to CP-278, Finnish I get: Caps Off - }{ 444 730 Caps On - }# 464 730 The { folds to #. So I'm not seeing any changes based on the context. That's why I _assumed_ what I did. Lindy -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Edward Jaffe Sent: 11. heinäkuuta 2008 23:21 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Lindy Mayfield wrote: Here's what I think now. Absolutely nothing changed. Points 1 and 2 are still in effect. The _ONLY_ thing that changed is that ISPF knows the code page and ZTERMCID is filled in. ISPF itself doesn't do anything with that info. Whaat??!! Clearly, ISPF classifies characters as being majuscule, minuscule, numeric, or other (special) based on this information. Otherwise, it would have no way of knowing how to perform case conversion, how to process various FIND command options, etc. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: How to change the ISPF code page?
Lindy Mayfield wrote: Please, just tell me one example of what ISPF does with a different code page. When you issue the UC or LC line commands in the editor (or edit with CAPS ON), it changes the case of the data. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: How to change the ISPF code page?
Thanks Ed. Let's just all agree I'm too thick to understand this. (-: -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Edward Jaffe Sent: 12. heinäkuuta 2008 0:00 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Lindy Mayfield wrote: Please, just tell me one example of what ISPF does with a different code page. When you issue the UC or LC line commands in the editor (or edit with CAPS ON), it changes the case of the data. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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 -- 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
Re: How to change the ISPF code page?
From the section of the ISPF manual that I previously referenced: quote ISPF uses these translation tables: t 2-byte input translation table t 2-byte output translation table t Uppercase character translation table t Lowercase character translation table t Valid terminal output translation table t Generic string master translation table t Alphabetic character translation table t Collating sequence translation table /quote These tables are globally set in ISPF and are not customized by the code page that you set in ISPF. There is a single, hard coded, set of translate tables. The default table that comes with ISPF is for CP-037 (I think). If you need some other translation, then the sysprog must customize the table. But it is GLOBAL to all ISPF users that have the table. I guess it could be per user by having a whole set of load modules, each in a different library, and which one gets fetched would depend on which DSN was in the user's STEPLIB or ISPLLIB. But it could not be changed on the fly to the best that I can see. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Lindy Mayfield Sent: Friday, July 11, 2008 4:00 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Truly I'm not trying to be argumentative in any way. Honestly I'm trying to understand. My emulator is set to CP-1047. I'm in ISPF with caps off. I enter this: åä 7300 Then I turn caps on and get this: åÄ 4644 7300 One uppercases the other doesn't. If I do the same with my code page set to CP-278, Finnish I get: Caps Off - }{ 444 730 Caps On - }# 464 730 The { folds to #. So I'm not seeing any changes based on the context. That's why I _assumed_ what I did. Lindy -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Edward Jaffe Sent: 11. heinäkuuta 2008 23:21 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Lindy Mayfield wrote: Here's what I think now. Absolutely nothing changed. Points 1 and 2 are still in effect. The _ONLY_ thing that changed is that ISPF knows the code page and ZTERMCID is filled in. ISPF itself doesn't do anything with that info. Whaat??!! Clearly, ISPF classifies characters as being majuscule, minuscule, numeric, or other (special) based on this information. Otherwise, it would have no way of knowing how to perform case conversion, how to process various FIND command options, etc. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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 -- 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
Re: How to change the ISPF code page?
My bad. The translate table is supposed to change based on the terminal type selected in ISPF option 0. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. -- 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
Re: How to change the ISPF code page?
I very much appreciate that, John. This was my logical conclusion as well. I simply didn't express myself correctly. Lindy -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of McKown, John Sent: 12. heinäkuuta 2008 0:06 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? From the section of the ISPF manual that I previously referenced: quote ISPF uses these translation tables: t 2-byte input translation table t 2-byte output translation table t Uppercase character translation table t Lowercase character translation table t Valid terminal output translation table t Generic string master translation table t Alphabetic character translation table t Collating sequence translation table /quote These tables are globally set in ISPF and are not customized by the code page that you set in ISPF. There is a single, hard coded, set of translate tables. The default table that comes with ISPF is for CP-037 (I think). If you need some other translation, then the sysprog must customize the table. But it is GLOBAL to all ISPF users that have the table. I guess it could be per user by having a whole set of load modules, each in a different library, and which one gets fetched would depend on which DSN was in the user's STEPLIB or ISPLLIB. But it could not be changed on the fly to the best that I can see. -- 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
Re: How to change the ISPF code page?
[EMAIL PROTECTED] A[EMAIL PROTECTED] [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 MIME-Version: 1.0 X-OriginalArrivalTime: 11 Jul 2008 21:15:07.0037 (UTC) FILETIME=[318624D0:01C8E39B] X-Antivirus: checked in 0.007sec at bama.ua.edu ([130.160.4.114]) by smf-clamd v1.2.1 - http://smfs.sf.net/ Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by bama.ua.edu id m6BLFElQ026338 From: [EMAIL PROTECTED] The _ONLY_ thing that changed is that ISPF knows the code page and ZTERMCID is filled in. ISPF itself doesn't do anything with that info. Please take everything I say with a grain of salt , because I'm certainly no expert in code pages. But I don't think it's correct to say that ISPF doesn't do anything with the info returned by ZTERMCID. I just did an experiment where I displayed panel 'EOXQW11' (which on my system is found in 'EOY.SEOYPENU'). With both my emulator and ZTERMCID set as CP-37, this is part of what was displayed on the panel: Each qualifier must begin with an alphabetic character (A to Z) or one of the special characters @, #, and $. I then repeated the test where my emulator and ZTERMCID were both set to CP-278, and again I saw exactly what is displayed above. But when I changed my emulator to CP-37 and left ZTERMCID as CP-278 (and vice versa), this is what I saw: Each qualifier must begin with an alphabetic character (A to Z) or one of the special characters Ö, Ä, and Å. As you can see from above, it *does* make a difference whether the emulator and ISPF are both using the same code page or not. Dave Salt See the new SimpList(tm) rollover image at: http://www.mackinney.com/products/SIM/simplist.htm _ If you like crossword puzzles, then you'll love Flexicon, a game which combines four overlapping crossword puzzles into one! http://g.msn.ca/ca55/208 -- 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
Re: How to change the ISPF code page?
Dave Salt wrote: As you can see from above, it *does* make a difference whether the emulator and ISPF are both using the same code page or not. ISPF is old. It was invented before the formalization of code pages. I believe some functions use them and some do not. IIRC, code page support was originally added in ISPF 4.1 in order to facilitate ASCII to EBCDIC translation for what was then called the ISPF GUI. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: How to change the ISPF code page?
You found one, Great! Great. Excellent. Of course the instructions are now wrong because a $, @ and # would be invalid if you used them, but that's a whole nuther issue. (-: -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Dave Salt Sent: 12. heinäkuuta 2008 0:15 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? I then repeated the test where my emulator and ZTERMCID were both set to CP-278, and again I saw exactly what is displayed above. But when I changed my emulator to CP-37 and left ZTERMCID as CP-278 (and vice versa), this is what I saw: Each qualifier must begin with an alphabetic character (A to Z) or one of the special characters Ö, Ä, and Å. As you can see from above, it *does* make a difference whether the emulator and ISPF are both using the same code page or not. Dave Salt See the new SimpList(tm) rollover image at: http://www.mackinney.com/products/SIM/simplist.htm -- 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
Re: How to change the ISPF code page?
I believe this also explains why it was so difficult for all of us to agree. We all have different expectations of how things should work. You'd think it would be (ok _I_ would think it would be) all or nothing and not just used here and there. Makes me wonder. Will IBM get it all worked out so that everything understands the different code pages? Or will they go all Unicode? Or more of the same. -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Edward Jaffe Sent: 12. heinäkuuta 2008 0:20 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Dave Salt wrote: As you can see from above, it *does* make a difference whether the emulator and ISPF are both using the same code page or not. ISPF is old. It was invented before the formalization of code pages. I believe some functions use them and some do not. IIRC, code page support was originally added in ISPF 4.1 in order to facilitate ASCII to EBCDIC translation for what was then called the ISPF GUI. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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 -- 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
Re: How to change the ISPF code page?
From: [EMAIL PROTECTED] ISPF is old. It was invented before the formalization of code pages. I believe some functions use them and some do not. IIRC, code page support was originally added in ISPF 4.1 in order to facilitate ASCII to EBCDIC translation for what was then called the ISPF GUI. I don't know when code page support was added or for what reason, but I know it's used for much more than just PC/workstation support. For example, suppose someone created a dialog that converts between different currencies. If it was developed in North America (using code page 037) and the dollar sign or pound sign (etc) was hard-coded to appear in a variable that's displayed on a panel, the currency symbol wouldn't be displayed correctly in countries outside North America. To avoid this problem the developer would need to call the ISPF service that does code page translations, and ask it to convert the currency symbol from CP-037 to whichever CP is being used by the user. If the person using the dialog is in Finland (for example) and they're using code page 278, the currency symbol would be converted to their code page and displayed correctly. However, this assumes the person in Finland has their ISPF code page correctly set to 278; in other words, that it's in sync with their emulator code page. But if the two code pages are not in sync (e.g. if the emulator code page is 278 but the value in the ISPF ZTERMCID variable is 037), the currency symbol would NOT be translated and would therefore be displayed incorrectly. 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
Re: How to change the ISPF code page?
You found one, Great! Great. Excellent. Of course the instructions are now wrong because a $, @ and # would be invalid if you used them, but that's a whole nuther issue. (-: LOL! I knew when I found that panel it was (in some ways) a bad example, but I was tired of searching and it did demonstrate my point. But you're right, and I think the 'whole nuther issue' is that the person who wrote that panel might not have known what they were doing. :-) Dave Salt See the new SimpList(tm) rollover image at: http://www.mackinney.com/products/SIM/simplist.htm _ -- 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
Re: How to change the ISPF code page?
Thanks Ed! That was just the detail needed. I contacted Tom Brennan and he told me how to fix Vista so that it returns the current code page translation to the host. Vista V1.24 will return 037 by default unless you tell it otherwise. (In Vista V1.26 the default is the opposite). In Vista V1.24 find the vista.ini file (normally in c:\windows) and add: ReplyCodePage=1 Restart Vista. Tests after doing this show the following: Query Terminal Information - CHARACTER SETS 001B8185 8200070C 0700 02B90116 0100F103 C30136 116x = 278d (Finnish CP-278) Also the value of ZTERMID - /* REXX */ ADDRESS ISPEXEC VGET (ZTERMCID) SHARED SAY ENCODING IS ZTERMCID EXIT ENCODING IS 00278 Now what this actually is supposed to do, I still have to figure out. Just as a first test I tried putting $-sign into a member name and it failed as invalid... Lindy -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Edward Jaffe Sent: 9. heinäkuuta 2008 17:38 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Lindy Mayfield wrote: [snip] CHARACTER SETS 001B8185 8200070C 0700 02B90025 0100F103 C30136 A perusal of the 3270 Data Stream Reference shows that '0025' in the above string is the code page number. Your emulator is passing back code page 37 (decimal) on the RPQ response. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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 -- 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
Re: How to change the ISPF code page?
Also here is the output of D UNI,ALL in case that means something. I've looked but not found anything yet in the docs. D UNI,ALL CUN3000I 15.55.29 UNI DISPLAY 916 ENVIRONMENT: CREATED 07/10/2008 AT 13.49.05 MODIFIED 07/10/2008 AT 14.26.32 IMAGE CREATED --/--/ AT --.--.-- SERVICE: CHARACTER CASE NORMALIZATION COLLATION STRINGPREP BIDI STORAGE: ACTIVE 5 PAGES LIMIT 524287 PAGES CASECONV: DISABLED CASE VER: NONE NORMALIZE: DISABLED NORM VER: NONE COLLATE: DISABLED COLL RULES: NONE STRPROFILES: NONE CONVERSION: 00819-01047-L 00819-01047-R 01047-00819-L 01047-00819-R -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Lindy Mayfield Sent: 10. heinäkuuta 2008 12:05 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Thanks Ed! That was just the detail needed. I contacted Tom Brennan and he told me how to fix Vista so that it returns the current code page translation to the host. Vista V1.24 will return 037 by default unless you tell it otherwise. (In Vista V1.26 the default is the opposite). In Vista V1.24 find the vista.ini file (normally in c:\windows) and add: ReplyCodePage=1 Restart Vista. Tests after doing this show the following: Query Terminal Information - CHARACTER SETS 001B8185 8200070C 0700 02B90116 0100F103 C30136 116x = 278d (Finnish CP-278) Also the value of ZTERMID - /* REXX */ ADDRESS ISPEXEC VGET (ZTERMCID) SHARED SAY ENCODING IS ZTERMCID EXIT ENCODING IS 00278 Now what this actually is supposed to do, I still have to figure out. Just as a first test I tried putting $-sign into a member name and it failed as invalid... Lindy -- 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
Re: How to change the ISPF code page?
Is it possible that Lindy needs to add translation tables to ISPF? I see that ISPF supports SWISS, GERMAN, FRENCH and English. But if you want a different lanaguage, like Swedish, would you need a new translation table added to ISPF? 3.10.3 Adding Translation Tables for Extended Code Page Support You can provide support for additional code pages by creating or modifying translation tables using the sample assembler module ISPEXCP in the ISP.SISPSAMP library. Any translation tables that are added must be named ISPn, where n is the CCSID, and must be a CCSID defined in the Character Data Representation Architecture Registry. This CCSID must be different from any of the supported CCSIDs. The translation tables should include code points X'40' through X'FE'. Table 20 and Table 21 show examples of the To and From translation tables needed to translate characters between CCSID 00500 and CCSID 00037. Lizette Also here is the output of D UNI,ALL in case that means something. I've looked but not found anything yet in the docs. D UNI,ALL CUN3000I 15.55.29 UNI DISPLAY 916 ENVIRONMENT: CREATED 07/10/2008 AT 13.49.05 MODIFIED 07/10/2008 AT 14.26.32 IMAGE CREATED --/--/ AT --.--.-- SERVICE: CHARACTER CASE NORMALIZATION COLLATION STRINGPREP BIDI STORAGE: ACTIVE 5 PAGES LIMIT 524287 PAGES CASECONV: DISABLED CASE VER: NONE NORMALIZE: DISABLED NORM VER: NONE COLLATE: DISABLED COLL RULES: NONE STRPROFILES: NONE CONVERSION: 00819-01047-L 00819-01047-R 01047-00819-L 01047-00819-R -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Lindy Mayfield Sent: 10. heinäkuuta 2008 12:05 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Thanks Ed! That was just the detail needed. I contacted Tom Brennan and he told me how to fix Vista so that it returns the current code page translation to the host. Vista V1.24 will return 037 by default unless you tell it otherwise. (In Vista V1.26 the default is the opposite). In Vista V1.24 find the vista.ini file (normally in c:\windows) and add: ReplyCodePage=1 Restart Vista. Tests after doing this show the following: Query Terminal Information - CHARACTER SETS 001B8185 8200070C 0700 02B90116 0100F103 C30136 116x = 278d (Finnish CP-278) Also the value of ZTERMID - /* REXX */ ADDRESS ISPEXEC VGET (ZTERMCID) SHARED SAY ENCODING IS ZTERMCID EXIT ENCODING IS 00278 Now what this actually is supposed to do, I still have to figure out. Just as a first test I tried putting $-sign into a member name and it failed as invalid... Lindy -- 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
Re: How to change the ISPF code page?
I don't see logmode. Here is everything that the 2 gives: ISPF TERMINAL CHARACTERISTICS 14 BIT ADDRESSING= ON 16 BIT ADDRESSING= OFF EXTENDED COLOR = ON EXTENDED HIGHLITING = ON DBCS = OFF PRIMARY SCREEN SIZE - PARTITIONED MODE SCREEN SIZE = 1,920 - x'0780' SCREEN DEPTH = 24 - x'0018' SCREEN WIDTH = 80 - x'0050' ALTERNATE SCREEN SIZE - PARTITIONED MODE SCREEN SIZE = 2,560 - x'0A00' SCREEN DEPTH = 32 - x'0020' SCREEN WIDTH = 80 - x'0050' PARTITION SCREEN SIZE - PARTITIONED MODE SCREEN SIZE = 0 - x'' SCREEN DEPTH = 0 - x'' SCREEN WIDTH = 0 - x'' PRIMARY SCREEN SIZE - NON-PARTITIONED MODE SCREEN SIZE = 1,920 - x'0780' SCREEN DEPTH = 24 - x'0018' SCREEN WIDTH = 80 - x'0050' ALTERNATE SCREEN SIZE - NON-PARTITIONED MODE SCREEN SIZE = 2,560 - x'0A00' SCREEN DEPTH = 32 - x'0020' SCREEN WIDTH = 80 - x'0050' ISPF TERMINAL BUFFER INFORMATION TERMINAL BUFFER ADDR = x'00025DC8' TERMINAL BUFFER SIZE = 3,584 - x'0E00' PHYSICAL SCREEN SIZE = 2,560 - x'0A00' PARTITION ARRAY ADDR = x'00012788' GTTERM INFORMATION RETURN CODE = x'' PRIMARY ROW = 24 - x'0018' PRIMARY COL = 80 - x'0050' ALTERNATE ROW= 32 - x'0020' ALTERNATE COL= 80 - x'0050' ATTRIBUTE BYTE = x'00C9' EBCDIC TERMINAL EDS TERMINAL GTSIZE INFORMATION RETURN CODE = x'' ROWS = 32 - x'0020' COLUMNS = 80 - x'0050' VTAM ACCESS METHOD *** QUERY DEVICE PROCESS INFORMATION STEP INDEX = 3 - x'0003' LOOP INDEX = 1 - x'0001' QUERY RETURN CODE= 24 - x'0018' QUERY DATA LENGTH= 192 - x'00C0' STRUCTURED FIELDS USABLE AREA 00178181 0150 00200100 D3032000 9E025807 0C0780 IMPLICIT PARTITION 001181A6 0B01 5000 18005000 20 COLOR 00168186 000800F4 F1F1F2F2 F3F3F4F4 F5F5F6F6 F7F7 HIGHLIGHTING 000D8187 0400F0F1 F1F2F2F4 F4 REPLY MODES 00078188 000102 UNREFERENCED STRUCTURED FIELD 00068199 CHARACTER SETS 001B8185 8200070C 0700 02B90025 0100F103 C30136 UNREFERENCED STRUCTURED FIELD 003F818F E3C3 D7F3F2F7 F040E5C9 E2E3C140 40400401 25FF 0206 C0D59D50 284E 6F742079 6574206C 6F676765 6420696E 212900 UNREFERENCED STRUCTURED FIELD 000D8180 80818586 878899A6 A8 CHARACTER SET RESPONSE INDICATES GRAPHIC ESCAPE IS SUPPORTED -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Edward Jaffe Sent: 9. heinäkuuta 2008 1:39 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Lindy Mayfield wrote: I logged off and restarted Vista logged on yet still ISPF thinks I'm code page 37. You can see the RPQ response by going to Option 0. Select Environ - Environ settings... and then set TERMSTAT to '2' and press Enter. What does it show? Which logmode are you using? -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED
Re: How to change the ISPF code page?
Lindy Mayfield wrote: [snip] CHARACTER SETS 001B8185 8200070C 0700 02B90025 0100F103 C30136 A perusal of the 3270 Data Stream Reference shows that '0025' in the above string is the code page number. Your emulator is passing back code page 37 (decimal) on the RPQ response. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: How to change the ISPF code page?
Lindy Mayfield wrote: Speaking of code pages and all, how do I change my ISPF code page to something else? I've been looking through the docs for a while now and I can see that it explains how to generate new code pages, but I don't see how to install them. Anyone ever done this? ISPF supports all popular code pages. So, you won't have to add anything. IIRC, if you set 'HOST_CODE_PAGE = ' in ISPCNFxx (probably the default), and establish your TSO session using a logmode that indicates the 3270 device is queryable, your emulator settings control which code page is used by ISPF. You can see the RPQ response by going to Option 0. Select Environ - Environ settings... and then set TERMSTAT to '2' and press Enter. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: How to change the ISPF code page?
Ed, In which documentation do I find ISPCNFxx? I've searched ISPF, MVS, TSO and Google. No luck yet. Are you saying that ISPF can tell from my emulator what code page I'm in and switch automatically? Or do I need to customize ISPCNF? Thanks Lindy -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Edward Jaffe Sent: 8. heinäkuuta 2008 23:26 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Lindy Mayfield wrote: Speaking of code pages and all, how do I change my ISPF code page to something else? I've been looking through the docs for a while now and I can see that it explains how to generate new code pages, but I don't see how to install them. Anyone ever done this? ISPF supports all popular code pages. So, you won't have to add anything. IIRC, if you set 'HOST_CODE_PAGE = ' in ISPCNFxx (probably the default), and establish your TSO session using a logmode that indicates the 3270 device is queryable, your emulator settings control which code page is used by ISPF. You can see the RPQ response by going to Option 0. Select Environ - Environ settings... and then set TERMSTAT to '2' and press Enter. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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 -- 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
Re: How to change the ISPF code page?
Lindy Mayfield wrote: In which documentation do I find ISPCNFxx? I've searched ISPF, MVS, TSO and Google. No luck yet. You just need to look in the ISPF Planning Guide using BookManager. In http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ispzpc60/2.3.17 you'll find the description of HOST_CODE_PAGE. It does say that '' is the default, so you don't have to change it. IBM Documentation *HOST_CODE_PAGE* *and* *HOST_CHARACTER_SET* Both the Code Page (CP) and the Character Set (CS) must be specified in order to be used. If specified they are used in translating the data from host to workstation. If the code page and character set are specified as , values from the terminal query will be used. If your terminal/emulator does not support code pages, the CODEPAGE and CHARSET parameter values on ISPSTART will be used. The default will be English (U.S.) if these ISPSTART parameters are not specified. The default is for both. /IBM Documentation Are you saying that ISPF can tell from my emulator what code page I'm in and switch automatically? Or do I need to customize ISPCNF? Automatically. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: How to change the ISPF code page?
Lindy, If you are talking about the ISRCONFG function it is in the Customization manual http://publibfp.boulder.ibm.com/epubs/pdf/ispzpc60.pdf Lizette Ed, In which documentation do I find ISPCNFxx? I've searched ISPF, MVS, TSO and Google. No luck yet. Are you saying that ISPF can tell from my emulator what code page I'm in and switch automatically? Or do I need to customize ISPCNF? -- 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
Re: How to change the ISPF code page?
I don't think I got it yet. I don't have an ISRCONFG in my SYS1.PARMLIB so that means I have the default of for my HOST_CODE_PAGE. Which means that ISPF is supposed to know my emulator is set to 278. I went back to the similar thread what Ed said, and changed in ISPF 0 my terminal to 3278T. I logged off and restarted Vista logged on yet still ISPF thinks I'm code page 37. What did I miss? -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Lizette Koehler Sent: 9. heinäkuuta 2008 0:30 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Lindy, If you are talking about the ISRCONFG function it is in the Customization manual http://publibfp.boulder.ibm.com/epubs/pdf/ispzpc60.pdf Lizette Ed, In which documentation do I find ISPCNFxx? I've searched ISPF, MVS, TSO and Google. No luck yet. Are you saying that ISPF can tell from my emulator what code page I'm in and switch automatically? Or do I need to customize ISPCNF? -- 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 -- 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
Re: How to change the ISPF code page?
Just to be clear, I can tell in two ways that my code page isn't correct in ISPF. First, with Vista set to Finnish, I tried creating a member name with a $-sign in it. No go. Then I ran a Rexx that displayed the ZTERMCID value, which is still 0037. Lindy -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Lindy Mayfield Sent: 9. heinäkuuta 2008 0:45 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? I don't think I got it yet. I don't have an ISRCONFG in my SYS1.PARMLIB so that means I have the default of for my HOST_CODE_PAGE. Which means that ISPF is supposed to know my emulator is set to 278. I went back to the similar thread what Ed said, and changed in ISPF 0 my terminal to 3278T. I logged off and restarted Vista logged on yet still ISPF thinks I'm code page 37. What did I miss? -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Lizette Koehler Sent: 9. heinäkuuta 2008 0:30 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to change the ISPF code page? Lindy, If you are talking about the ISRCONFG function it is in the Customization manual http://publibfp.boulder.ibm.com/epubs/pdf/ispzpc60.pdf Lizette Ed, In which documentation do I find ISPCNFxx? I've searched ISPF, MVS, TSO and Google. No luck yet. Are you saying that ISPF can tell from my emulator what code page I'm in and switch automatically? Or do I need to customize ISPCNF? -- 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 -- 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 -- 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
Re: How to change the ISPF code page?
Lindy Mayfield wrote: I logged off and restarted Vista logged on yet still ISPF thinks I'm code page 37. You can see the RPQ response by going to Option 0. Select Environ - Environ settings... and then set TERMSTAT to '2' and press Enter. What does it show? Which logmode are you using? -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: How to change the ISPF code page?
In a message dated 7/8/2008 4:45:08 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: I don't have an ISRCONFG in my SYS1.PARMLIB so that means I have the default of for my HOST_CODE_PAGE. RTFM? ISPF configs are tables and optionally load modules in ISPTLIB and/or ISPLLIB concatenation. It's been that way since OS/390 2.8. _http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZPC40/2.1?SHELF =ISPZPM40DT=20050713003649_ (http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZPC40/2.1?SHELF=ISPZPM40DT=20050713003649) **Gas prices getting you down? Search AOL Autos for fuel-efficient used cars. (http://autos.aol.com/used?ncid=aolaut000507) -- 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