LHEX primary command

The LHEX command displays the data for one or more fields in long hexadecimal format. In LHEX format, each character is shown as two hexadecimal characters that are displayed from left to right. For example, '1' appears as 'F1' in LHEX format. Only character fields are affected.

You can issue the command on the IMS data panel when the display format is SNGL or TABL.

Syntax


1  LHEX
2.1  fieldref
2.2.1 ON
2.2.1 OFF
2.1  fldname
2.2.1 ON
2.2.1 OFF
2.1 ALL
2.1 RESET
fieldref

A single field reference (for example, #1), a range (for example, #2-#5), or a list of single field references and ranges separated by spaces (for example, #1 #4 #6-#7). A single field specification is #n; n is a positive integer and cannot exceed the number of fields in the template that is being processed.

fldname

The name of a field in the template, which is optionally preceded by the pound symbol (#). Use #ALL and #RESET to avoid any syntactical ambiguity with command keywords.

OFF | ON

Turns the LHEX format on or off. If you omit this parameter, the LHEX command acts as a toggle; the field's current LHEX display status is reversed.

ALL
Displays all fields in long hexadecimal format.
RESET
Displays all fields in the default format.

Availability

IMS data panel when the display format is SNGL or TABL.

Related tasks and examples