SET ETMODE
Purpose
Use the ETMODE (extended mode) option to specify XEDIT should recognize Double-Byte Character Set (DBCS) strings. In this mode, XEDIT can manipulate and display DBCS strings on terminals that support Double-Byte Character Sets.
Operands
- ON
- specifies XEDIT recognizes and manipulates DBCS strings that begin with a shift-out character and end with a shift-in character.
- OFF
- specifies all data is treated as 1-byte EBCDIC data.
Initial Setting
The initial setting is based on whether the terminal can display double-byte characters. If it can, the initial setting is ON; if not, the setting is OFF.
Usage Notes
- If full-screen CMS is off or suspended and you disconnect from a terminal that supports DBCS and reconnect to a terminal that does not support DBCS, the first time you enter the XEDIT command on the new terminal, ETMODE is set ON. If you disconnect from a terminal that does not support DBCS and reconnect to a terminal that does, the first time you enter the XEDIT command on the new terminal, ETMODE is set OFF.
- See Using Double-Byte Character Sets for information on using DBCS strings in the XEDIT environment.
Messages and Return Codes
- 520E
- Invalid operand: operand [RC=5]
- 545E
- Missing operand(s) [RC=5]
where return codes are:
- 0
- Normal
- 5
- Invalid or missing operand(s)
- 6
- Subcommand rejected in the profile due to LOAD error, or QUIT subcommand has been issued in a macro called from the last file in the ring
