Frank Swarbrick wrote:
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?
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.
Did we do something wrong when we installed z/OS? What's up?
Thanks,
Frank
You can change the codepage of your terminal emulator.
Also, I always issue omvs this way:
==> omvs convert((bpxfx437)) esc('^') lines(3000)
The convert gives me a useful codepage conversion (note the double
set of parentheses), the esc gives me a useful escape character,
and the lines gives me a larger terminal buffer so I can hold more
history.
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
==> Ask about being added to our opt-in list: <==
==> * Early announcement of new courses <==
==> * Early announcement of new techincal papers <==
==> * Early announcement of new promotions <==
----------------------------------------------------------------------
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