ENTMF 

The HEX-TO-CHAR Function

The HEX-TO-CHAR function returns a character string that represents the hexadecimal digit characters supplied on input.

The function type is alphanumeric.

General Format

Arguments

  1. argument-1 must be an alphanumeric literal, alphanumeric data item, or alphanumeric group item.
  2. argument-1 must consist only of the characters '0' through '9', 'A' through 'F', and 'a' through 'f'.
  3. The length of argument-1 must be a multiple of 2 bytes.

Returned Values

  1. A character string of bytes representing the hexadecimal digit characters of argument-1.
  2. The length of the result string is equal to the length of the input string divided by 2.