Previous Topic: FORMAT FunctionNext Topic: LIBRARY Function


HEX Function

HEX specifies a special delimiter character that constructs member names with non-displayable characters or embedded blanks.

►►─ HEX ─ x ──────────────────────────────────────────────────────────────────►◄
HEX

Specifies the HEX function.

x

Specifies a special delimiter character. For example, to specify the slash (/) character as the delimiter, enter:

HEX /

Note: The HEX delimiter can be any special character except the backslash character (\).

VLS supports member names with any hexadecimal configuration, including blanks. For example, many VLS member names have a format similar to the following:

SCPEXAMPLE        001L
....+....1....+....2....

The eight blanks are actually part of the member name. You could dump this member with these control statements:

HEX  /
DUMP SCPEXAMPLE/4040404040404040/001L

Use the delimiter, a slash in this case, to bracket the hexadecimal information. In this example, since a blank character translates to X'40', one blank is specified by 40.

A defined special delimiter character remains in effect until the end of the run or until you use the HEX function to specify a new special delimiter character.