Utility subroutines are provided to assist you in converting ASCII and EBCDIC strings, and also to retrieve information about an APPC conversation in progress.
Note that the APPCConvertE2A subroutine does not need to be used if a value of APPC_Convert is used for the AUTO_CONVERT argument on the APPCSendString call. APPCConvertE2A is typically used to convert the EBCDIC information returned to the APPCGetInfo subroutine into ASCII.
ESL APPC Utility Subroutines
The following are the utility subroutines:
call APPCConvertA2E ( CONVERSATION_ID,
STRING,
INDEX_START,
INDEX_END,
ASCII_TABLE,
EBCDIC_TABLE )
call APPCConvertE2A ( STRING,
INDEX_START,
INDEX_END,
ASCII_TABLE,
EBCDIC_TABLE )
call APPCGetInfo ( CONVERSATION_ID,
APPC_TP_ID,
APPC_CONVERSATION_ID,
NET_NAME,
LOCAL_LU_NAME,
LOCAL_LU_ALIAS_NAME,
PARTNER_LU_ALIAS_NAME,
PARTNER_LU_UNINTERPRETED_NAME,
FULLYQUAL_PARTNER_LU_NAME,
PARTNER_TP_NAME,
MODE_NAME,
SYNC_LEVEL,
USER_ID )