ORDINALNAME

ORDINALNAME returns a nonvarying character string that is the member of the set associated with the ordinal x.
Read syntax diagramSkip visual syntax diagram
>>-ORDINALNAME(x)----------------------------------------------><

x
Reference. It must have ordinal type.

ORDINALs cannot be used in computational expressions and cannot be converted to character, but ORDINALNAME provides a way to obtain a displayable value for an ORDINAL and can be very useful in debugging.