%CHAR built-in function converts the value of the expression from numeric, date, time or timestamp data to type character.
%CHAR (Expression)
Required. Can be any valid numeric expression. If the parameter is a constant, the conversion will be done at compile time.
For date, time, or timestamp data, the returned value includes any separator characters. The format and separators of the result are the same as that of the parameter.
The %CHAR command cannot accept *BOOLEAN and *IND data types.