$HEXw. Informat: UNIX

Converts hexadecimal data to character data.
Category: Character
Default: 2
Range: 1 to 32,767
UNIX specifics: values are interpreted as ASCII values
See: $HEXw. Informat in SAS Formats and Informats: Reference

Details

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.