CHARVAL
CHARVAL returns the CHARACTER(1) value corresponding to an integer.
- n
- Expression converted to UNSIGNED FIXED BIN(8) if necessary.
CHARVAL(n) has the same bit value as n (that is, UNSPEC(CHARVAL(n)) is equal to UNSPEC(n)), but it has the attributes CHARACTER(1).
CHARVAL is the inverse of RANK (when applied to character).