Converting to EBCDIC from ASCII
Typically, all messages sent to the host are in EBCDIC, and the PLU assumes that the messages are in EBCDIC. For example, a PLU name that appears in a BIND should be an EBCDIC string. An LUA application program that stores strings in ASCII should convert the strings to EBCDIC before the strings are sent in SNA messages.
Whether an LUA application program needs to convert application data depends on a private agreement between the partner application programs. If your LUA application program communicates with a node that normally uses EBCDIC, you should convert your ASCII data to EBCDIC where appropriate.
Conversion of ASCII to EBCDIC (or vice versa) can be done by the convert verbs described in Common Services Verbs (CSV).