Professional Documents
Culture Documents
81 W445ngsc415443
81 W445ngsc415443
Notes:
1. Parameters that are required, such as the
ICF to CPI Communications—Examples conversation_ID and return_code, are not always listed
explicitly in the table.
Table 6-5 provides some example ICF operations and func-
2. These examples describe only one way of performing
tions that can be used in your application program and the
the operation or function; other methods may exist.
CPI Communications call to which it corresponds. This table
only provides DDS keyword examples and should be used to
supplement the more detailed DDS information contained in
Appendix A.
Table 6-5 (Page 1 of 3). Mappings for Example ICF Operations and Functions
ICF Operations/Functions CPI Communications Call
An acquire operation followed by: Corresponds to
EVOKE([library-name/]program-name) CALL CMALLC(conversation_ID)
Note: It is the combination of an acquire operation and evoke func-
tion that corresponds to Allocate (CMALLC).
With an evoke function, you can also specify any of the following:
[parameter-1...[parameter-255]] CPI Communications does not support sending PIP data.
SECURITY(3 \USER) or CALL CMSCST(CM_SECURITY_SAME) or
SECURITY([1 profile ID] [2 password] [3 userid]) CALL CMSCST(CM_SECURITY_PROGRAM)
CALL CMSCSP(security_password)
CALL CMSCSU(security_user_ID)
SYNLVL(\NONE) or CALL CMSSL(CM_NONE) or
SYNLVL(\CONFIRM) or CALL CMSSL(CM_CONFIRM) or
SYNLVL(\COMMIT) CALL CMSSL(CM_SYNC_POINT) (CMSCST, CMSCSP, CMSCSU, and
CMSSL must all be called before the CMALLC call.)
.. ..
. .
Write (data length > ð) with CONFIRM CALL CMSST(CM_SEND_AND_CONFIRM) followed by CALL CMSEND
If your program specifies SYNLVL(*CONFIRM) and later uses the Corresponds to
CONFIRM DDS keyword, the remote program must then issue a
RSPCONFIRM (positive response) CALL CMCFMD
or or
FAIL (negative response) CALL CMSERR or CALL CMSED followed by CALL
CMSERR when in send-pending state
If the remote program issues a
Get-attributes operation, CALL CMESL
it can determine the SYNLVL established by the source program.
Your program issues a Corresponds to
FRCDTA CALL CMFLUS
return code = CM OK
Set Send Type (CM SEND AND PREP TO RECEIVE)
return code = CM OK
return code = CM OK
start of session
Allocate (conversation ID) (if not already available)
conversation start-up
request
Program C is started
return code = CM OK
confirmation request, data
Send Data permission to send
(conversation ID, data)
Accept Conversation
conversation ID, return code = CM OK
return code = CM OK
return code = CM OK
return code = CM OK
status received = CM CONFIRM
SEND RECEIVED
return code = CM OK confirmation reply Confirmed (conversation ID)
return code = CM OK
Receive (conversation ID)
data, permission
return code = CM OK to send Send Data ( conversation ID, data)
status received = CM
Receive (conversation ID)
SEND RECEIVED
return code = CM OK
RV2P753-1
Table 6-7 (Page 1 of 2). Return Code Mapping for CPI Communications and LU 6.2
LU 6.2 Return Code CPI Communications Return Code
ALLOCATION_FAILURE_NO_RETRY CM_ALLOCATE_FAILURE_NO_RETRY
ALLOCATION_FAILURE_RETRY CM_ALLOCATE_FAILURE_RETRY
BACKED_OUT CM_TAKE_BACKOUT
BACKED_OUT ALL_AGREED None
BACKED_OUT LUW_OUTCOME_MIXED None
BACKED_OUT LUW_OUTCOME_PENDING None
CONVERSATION_TYPE_MISMATCH CM_CONVERSATION_TYPE_MISMATCH
DEALLOCATE_ABEND CM_DEALLOCATED_ABEND
DEALLOCATE_ABEND BACKOUT_REQUIRED CM_DEALLOCATED_ABEND_BO
DEALLOCATE_ABEND_PROG CM_DEALLOCATED_ABEND_PROG
DEALLOCATE_ABEND_PROG BACKOUT_REQUIRED CM_DEALLOCATED_ABEND_PROG_BO
DEALLOCATE_ABEND_SVC CM_DEALLOCATED_ABEND_SVC
DEALLOCATE_ABEND_SVC BACKOUT_REQUIRED CM_DEALLOCATED_ABEND_SVC_BO
DEALLOCATE_ABEND_TIMER CM_DEALLOCATED_ABEND_TIMER
DEALLOCATE_ABEND_TIMER BACKOUT_REQUIRED CM_DEALLOCATED_ABEND_TIMER_BO
DEALLOCATE_NORMAL CM_DEALLOCATED_NORMAL
OK CM_OK
PARAMETER_ERROR CM_PARAMETER_ERROR
PIP_NOT_SPECIFIED_CORRECTLY CM_PIP_NOT_SPECIFIED_CORRECTLY
PROG_ERROR_NO_TRUNC CM_PROGRAM_ERROR_NO_TRUNC
PROG_ERROR_PURGING CM_PROGRAM_ERROR_PURGING
PROG_ERROR_TRUNC CM_PROGRAM_ERROR_TRUNC
PROGRAM_PARAMETER_CHECK CM_PROGRAM_PARAMETER_CHECK
PROGRAM_STATE_CHECK CM_PROGRAM_STATE_CHECK
RESOURCE_FAILURE_NO_RETRY CM_RESOURCE_FAILURE_NO_RETRY
RESOURCE_FAILURE_NO_RETRY BACKOUT_REQUIRED CM_RESOURCE_FAIL_NO_RETRY_BO
RESOURCE_FAILURE_RETRY CM_RESOURCE_FAILURE_RETRY
RESOURCE_FAILURE_RETRY BACKOUT_REQUIRED CM_RESOURCE_FAILURE_RETRY_BO
SECURITY_NOT_VALID CM_SECURITY_NOT_VALID
SYNC_LEVEL_NOT_SUPPORTED_BY_LU CM_SYNC_LVL_NOT_SUPPORTED_LU
SYNC_LEVEL_NOT_SUPPORTED_BY_PGM CM_SYNC_LVL_NOT_SUPPORTED_PGM
SVC_ERROR_NO_TRUNC CM_SVC_ERROR_NO_TRUNC
SVC_ERROR_PURGING CM_SVC_ERROR_PURGING
SVC_ERROR_TRUNC CM_SVC_ERROR_TRUNC
TPN_NOT_RECOGNIZED CM_TPN_NOT_RECOGNIZED
TP_NOT_AVAIL_NO_RETRY CM_TP_NOT_AVAILABLE_NO_RETRY
TP_NOT_AVAIL_RETRY CM_TP_NOT_AVAILABLE_RETRY
UNSUCCESSFUL CM_UNSUCCESSFUL