LU 6.2 API Application Programmer's Reference Guide (30294-90008)

Appendix B 181
Sample Programs
CICS Program (PL/I)
CICS Program (PL/I)
CICS provides a high-level command interface to the LU 6.2 verbs.
Table B-1 gives the mappings between the LU 6.2 verbs and the
equivalent CICS commands issued by the CICS TP.
The EXEC Interface Block (EIB) returns parameter values from the
LU 6.2 verbs to the PL/I TP. Table B-2 lists the EIB values used in the
PL/I TP and their meanings in the conversation.
Table B-1 Mapping of CICS Commands to LU 6.2 Verbs
LU 6.2 Verb CICS Command
MCGetAllocate
EXEC CICS EXTRACT PROCESS
MCRcvAndWait EXEC CICS RECEIVE
MCSendData
EXEC CICS SEND
MCConfirmed
EXEC CICS ISSUE CONFIRMATION
Table B-2 Meanings of EXEC Interface Block Values
EIB Value Meaning
EIBFREE The remote TP called MCDeallocate to end the
conversation normally.
EIBCONF
The remote TP called MCConfirm< to request confirmation.
EIBEOC
End-of-chain indicator.
EIBCOMPL The CICS TP has received a complete data record.
EIBRECV The CICS TP is in Receive state.