WCHARVAL

WCHARVAL returns the WIDECHAR(1) value corresponding to an integer.

Read syntax diagramSkip visual syntax diagramWCHARVAL(n)
n
Expression converted to UNSIGNED FIXED BIN(16) if necessary.

If n is in bigendian format, WCHARVAL(n) has the same bit value as n (that is, UNSPEC(WCHARVAL(n)) is equal to UNSPEC(n)), but it has the attributes WIDECHAR(1).

WCHARVAL is the inverse of RANK (when applied to widechar).