Previous Topic: GOTO CommandNext Topic: JPRT (or J)


HEX Command

The HEX command turns HEX mode on or off.

If HEX mode is on

Data is displayed in hexadecimal format

The two lines of hexadecimal data are in vertical format. Also, a separator line is displayed between the lines to make the screen easier to read.

If HEX mode is off

Text appears normally

Data is not displayed in hexadecimal format underneath the standard EBCDIC format.

When HEX mode is on, the cursor is positioned to the hexadecimal representation of the data after a successful FIND command. The columns are formatted to make it easier to find the hexadecimal representation of a specific column.

Examples

This example turns on HEX mode:

Command ===> hex

This example turns off HEX mode:

Command ===> hex off

This is sample hexadecimal data:

-------------------------
ABCDEF - 0123456EBCDIC
CCCCCC464FFFFFFFCCCCCC
1234560000123456523493
-------------------------

Hexadecimal digits are displayed vertically: