> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[email protected]] On Behalf Of Frank Swarbrick > Sent: Wednesday, July 15, 2009 1:46 PM > To: [email protected] > Subject: code page help > > What code page should we use? > (What a question!) > > We use codepage 037. I observe that OMVS apparently uses code page > 1047. I say this because if I use code page 037 and go in to OMVS and > type "java" I see on my screen: > > Usage: java Ý-options¨ class Ýargs...¨ > > If I switch to code page 1047 I then see the expected: > > Usage: java [-options] class [args...] > > Is there any way to get OMVS to show the brackets correctly if I am > using code page 037?
I'm not sure. z/OS UNIX does have a LOCALE setting. But I've not messed around with it. > > And what about C source code? (And Java for that matter.) We are not > a C shop, but I can imagine that some day we might try a little Java. > How do I use ISPF to edit Java source code and have the brackets turn > out in a way that Java can recognise it? And is there any way to > convert C source code examples to code page 037? For example, > CEE.SCEESAMP(EDCCICS) has the following line: > extern "COBOL" void CUCICS(unsigned short *len, char (* > running)[80]); > > It looks fine if I have my terminal set to code page 1047, > but not code > page 037. I don't know of any way around this either. > > Did we do something wrong when we installed z/OS? What's up? Welcome to another PITA between z/OS UNIX & C language usage (1047) and z/OS legacy usage (037). You have not done anything wrong. I stay in 1047 and put up the the poor display on legacy because I don't need the special characters for my legacy work. > > Thanks, > Frank -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets® 9151 Boulevard 26 . N. Richland Hills . TX 76010 (817) 255-3225 phone . (817)-961-6183 cell [email protected] . www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets® is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company®, Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM ---------------------------------------------------------------------- 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

