CODEPAGE
The default code page used by z/OS® Debugger and the remote debuggers is 037. For any of the following situations, you need to use a different code page:
- Application programmers are debugging in remote debug mode and the source or compiler use a code
page other than 037.
If your C/C++ source contains square brackets or other special characters, you might need to specify an EQAOPTS
CODEPAGE
command to override the z/OS Debugger default code page (037). Check the code page specified when you compiled your source. The C/C++ compiler uses a default code page of 1047 if you do not explicitly specify one. If the code page used is 1047 or a code page other than 037, you need to specify an EQAOPTSCODEPAGE
command specifying that code page. - Application programmers are debugging in full screen mode and encounter one of the following
situations:
- They use the STORAGE command to update COBOL NATIONAL variables.
- The source is coded in a code page other than 037.
- Application programmers use the
XML(CODEPAGE(ccsid))
parameter on aLIST CONTAINER
orLIST STORAGE
command to specify an alternate code page.
z/OS Debugger uses the z/OS Unicode Services to process characters that need code page conversion.
The following diagram describes the syntax of the CODEPAGE command:
- nnnn
- A positive integer indicating the code page to use.
After implementing the EQAOPTS CODEPAGE
command,
if application programmers using full-screen mode still cannot display
some characters correctly, have them verify that their emulator's
code page matches the code page of the characters they need to display.
You might need to create your own conversion images as described in Creating a conversion image for z/OS Debugger.
Example
EQAXOPT CODEPAGE,121