ENTMF 

The HEX-OF Function

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

Syntax for General Format for the HEX-OF function

Arguments

  1. argument-1 must be a data item, literal, or an intrinsic function result of any data class.

Returned Values

  1. An alphanumeric character string consisting of a hexadecimal representation of argument-1.
  2. The length of the character string returned, in bytes, is twice the length of argument-1, in bytes.