SET HEX

Read syntax diagramSkip visual syntax diagram SET HEX ONOFF

Purpose

Use the HEX option to allow subcommand string operands and targets to be specified in hexadecimal notation. The editor searches for their EBCDIC equivalent.

Operands

ON
allows subcommand string operands and targets to be specified in hexadecimal notation.
For example:
locate /X'C1C2C3'/
is the same as
locate /ABC/
OFF
turns off the ability to specify string operands and targets in hexadecimal notation.

Initial Setting

HEX OFF

Usage Notes

  1. When using ARBCHAR, the arbitrary character must be specified in hex. In the following example, the hex value of $ is 5B.
         set arbchar on $
         set hex on
         change /x'C15BC2'/x'C3'/
    is the same as
         change /A$B/C/

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