Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

@CODENAME (format 2) - Define the communications character set

&pagelevel(3)&pagelevel

Format 2 of the @CODENAME statement can be used to define the communications character set used by EDT. The definition made in @CODENAME takes priority over the implicit selection of a character set by EDT, for example on the basis of the employed terminal.

Operation

Operands

F mode, L mode

@CODENAME

[ {name | *AUTO} ,TERMINAL ]

name

Name of the character set that is to be defined. The character set must be
known in XHCS. The character set must be supported by the employed
terminal; otherwise, the statement is rejected with message EDT5487.

If a communications character set is specified explicitly then it cannot be
selected automatically by EDT (see section “Communications character set”).

*AUTO

Activates automatic selection of the communications character set by EDT
(see section “Communications character set”).

If no operand is specified then only the character set defined using
/MODIFY-TERMINAL-OPTIONS is used as the communications character set. This is also the default setting when EDT is started.

The specified character set is used as the communications character set for data exchange with the terminal and the operand has no direct influence on the coding in the work files (see section “Character sets”). However, empty work files which have no character set and are only filled with data as a result of direct user input at the terminal are initially assigned this character set. More specifically, if the automatic selection of the communications character set is active and a modern Unicode-compatible emulation is being used then work files which are filled with data in this way are always assigned the character set UTFE. This can only be prevented by the earlier explicit assignment of a work file character set.

In batch mode, this statement is ignored.