Skip to Content
0
Former Member
Jun 15, 2005 at 02:11 PM

Translating ASCII <--> EBCDIC

139 Views

In a non-Unicode system, I can issue a command such as TRANSLATE <F1> USING EBC_TO_ASC where <F1> is a standard field symbol and EBC_TO_ASC is a standard data definition provided by SAP in include RSEBCASC. When I try this in a Unicode system, it does not appear to work. Is there a comparable way in a Unicode system to translate items from ASCII to EBCDIC (or EBCDIC to ASCII)?

In case you were wondering, we get files from a legacy application on an MVS system. Those files are FTP'ed from the MVS system to our AIX system in BINARY and we use the TRANSLATE command to deal with the BINARY data. (There are other reasons and uses, but this will suffice for now.)