Use
The call CMCVNI converts a data buffer from EBCDIC to ASCII. It uses the library function LIB$TRAEBCASC.
Activities
Syntax
CMCNVI (buffer, length, rc)
Parameters
buffer
Buffer to be converted (input value)
length
Number of characters to be converted (input value)
rc
Return code
CM_OK: Routine was executed without errors.
The return code contains the same value as rc.

(for UNIX)
Under UNIX, you can define your own conversion table. The SAP standard tables are contained in Conversion Tables EBCIDC « ASCII.