Converts character data to hexadecimal representation.
Category: | Character |
Alignment: | Left |
See: | $HEXw. Format: UNIX in SAS Companion for UNIX Environments |
$HEXw. Format: Windows in SAS Companion for Windows |
specifies the width of the output field.
Default | The default width is calculated based on the length of the variable to be printed. |
Range | 1–32767 |
Tips | To ensure that SAS writes the full hexadecimal equivalent of your data, make w twice the length of the variable or field that you want to represent. |
If w is greater than twice the length of the variable that you want to represent, $HEXw. pads it with blanks. |