Previous Topic: SETUNAME Return CodesNext Topic: SUBATTR Return Codes


EPI SUBATTR—Return Attribute Characters

The EPI SUBATTR command affects how the RDSCREEN and RDSCRROW commands return host attribute characters. Use this command to return all attribute bytes as values between X'20' and X'3F' (no translation).

EPI SUBATTR has the following format:

ADDRESS EPI "SUBATTR keyword"
{ON|OFF}
[sub_char]
ON

Tells EPI to translate attribute characters. This value reverses the effects of a previously issued SUBATTR OFF command.

OFF

Tells EPI not to translate attribute characters.

Default: OFF

sub_char

(Optional) Specifies the character to be substituted for all host attribute byte characters of output from the RDSCREEN and RDSCRROW commands. This value can be a single character or a numeric value from 0 through 255 that corresponds to the EBCDIC value of the desired character.

EPI SUBATTR Sample Coding Statements

The following sample coding statement sets substitute character for host attribute byte characters to a percent sign:

SUBATTR % ON