The @SHOW statement (format 2) can be used to output a list of the character sets supported by XHCS. In interactive mode, it also indicates the character sets supported by the terminal.
Operation | Operands | F mode, L mode |
@SHOW | CCS [ [TO] line [(inc)] ] |
line | Line number as of which information is to be written to the current work file. If a line with a number greater than the previous highest line number is If |
inc | Increment used to form the line numbers which follow |
If output is written to work file 9 (in F mode, without the line
operand) then a header is output in the information line (can be displayed using @PAR INFORMATION=ON).
A list of the character sets supported by XHCS is output. Unlike the behavior in EDT V16.6 or in compatibility mode, in Unicode mode each of the listed character sets can be defined as the character set for a work file.
Alongside the name of the character set, every line in the list contains an additional indicator, namely:
P | If the character set is a partial character set (see the XHCS User Guide [8]). |
E | If the character set is an EBCDIC character set. |
I | If the character set is an ISO character set. |
* | If the character set is one of the character sets accepted by the terminal (in interactive mode only). The character sets identified by * are also those that can be defined as the communications character set using @CODENAME (format 2). |
Output to SYSOUT
or SYSLST
is sent in the character set that has been defined for these system files. If the output is written to a work file then it is sent in the work file's character set. If the work file is empty and has the character set *NONE
then the character set EDF041
is used. Characters that cannot be displayed in the target character set are always replaced by blanks.