Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

@SHOW (format 2) - Output supported character sets

&pagelevel(3)&pagelevel

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
created then the current line number is modified.

If line is not specified then in the interactive mode's L mode, the result is
output to SYSOUT, in batch mode it is output to SYSLST and in F mode it is
written to work file 9. Work file 9 is deleted before being used. If a file is open
in work file 9 then the message EDT5189 is output and the statement is not
executed.

inc

Increment used to form the line numbers which follow line. If inc is not
specified then the increment implicitly specified by line is used (see
section “Implicit increment assignment”).

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:

PIf the character set is a partial character set (see the XHCS User Guide [8]).
EIf the character set is an EBCDIC character set.
IIf 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.