Previous Topic: SETUNAME Return Codes

Next Topic: SUBATTR Return Codes

EPI SUBATTR—Return Attribute Characters

The 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).

This command 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 between 0 and 255 that corresponds to the EBCDIC value of the desired character.

Example: EPI SUBATTR

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

SUBATTR % ON