$HEXw. Informat: Windows

Converts hexadecimal data to character data.

Category: Character
Alignment: Left
Windows specifics: ASCII character-encoding system
See: $HEXw. Informat in SAS Formats and Informats: Reference



Required Argument


specifies width of the input value.

Default 2
Range 1–132767


The $HEXw. informat is like the HEXw. informat in that it reads values in which each hexadecimal character occupies 1 byte. Use the $HEXw. informat to encode hexadecimal information into a character variable when your input data are limited to printable characters. The conversion is based on the ASCII character set.