Previous Page | Next Page

Informats under UNIX

$HEXw. Informat: UNIX

Converts hexadecimal data to character data.
Category: Character
Width range: 1 to 32,767
Default width: 2
UNIX specifics: values are interpreted as ASCII values
See: $HEXw. informat in SAS Language Reference: Dictionary



The $HEXw. informat converts every two digits of hexadecimal data into one byte of character data. Use the $HEXw. informat to encode hexadecimal values into a character variable when your input data is limited to printable characters. SAS under UNIX interprets values that are read with this informat as ASCII values.

Previous Page | Next Page | Top of Page