$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

Syntax

$HEXw.

Required Argument

w
specifies width of the input value.
Default:2
Range:1–132767

Details

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.