Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
HEX—Set or Query Hexadecimal Mode z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The HEX macro command sets hexadecimal mode, which determines whether data appears in hexadecimal format. The HEX assignment statement either sets hexadecimal mode or retrieves the current values of hexadecimal mode, and places them in variables. SyntaxMacro command syntax .-VERT-. >>-ISREDIT--HEX--+-ON--+------+-+------------------------------>< | '-DATA-' | +-VERT---------+ +-DATA---------+ '-OFF----------'
Assignment statement syntax >>-ISREDIT--(var1,var2)-- = --HEX------------------------------>< .-VERT-. >>-ISREDIT--HEX-- = --+-ON--+------+-+------------------------->< | '-DATA-' | +-VERT---------+ +-DATA---------+ '-OFF----------'
DescriptionThe HEX macro command and assignment statement determines whether the editor displays hexadecimal representation in a vertical or data string format. When the editor is operating in hexadecimal mode, three lines are displayed for each source line. The first line shows the data in standard character form, while the next two lines show the same data in hexadecimal representation. Besides normal editing on the first of the three lines, you can change any characters by typing over the hexadecimal representations. You can also use the FIND, CHANGE, and EXCLUDE commands to find, change, or exclude invalid characters or any specific hexadecimal character, regardless of the setting of hexadecimal mode. See the discussion of picture strings and hexadecimal strings under Finding, seeking, changing, and excluding data. Return codes
ExamplesTo put the value of hexadecimal
mode (on or off) in variable &HEXMODE and to process if hexadecimal
mode is on:
To turn hexadecimal mode off:
|
Copyright IBM Corporation 1990, 2014
|