The HEX-OF function returns an alphanumeric character string consisting of a hexadecimal representation of the argument used
on input.
The type of the function is alphanumeric.
General Format
Arguments
- argument-1 must be a data item, literal, or an intrinsic function result of any data class.
Returned Values
- An alphanumeric character string consisting of a hexadecimal representation of
argument-1.
- The length of the character string returned, in bytes, is twice the length of
argument-1, in bytes.