Table of Contents Previous Next PDF


ATMI to CPI-C Function Mapping

ATMI to CPI-C Function Mapping
The following tables list the most common ATMI function calls and show how their parameters map to CPI-C verbs. The mappings are listed by function call in the following order:
tpacall() with or without reply
The tables show the parameters of the ATMI call, the contents or meaning of the parameters, and notes on usage with the CPI-C verbs.
 
Table 1‑1 tpcall
 
Table 1‑2 tpacall
 
Table 1‑3 tpgetrply
 
Table 1‑4 tpservice
 
Table 1‑5 tpreturn
Set to TPSUCCESS when conversation terminates with a normal deallocation.
Set to TPESVCERR when the conversation has terminated with a non-normal deallocation type or other error.
Data is returned to the CICS transaction from a successful CMRCV with data received set to CM_DATA_COMPLETE and return code of CM_DEALLOCATE_NORMAL. If the service fails, no data is returned to the caller and the conversation is deallocated abnormally.
 
Table 1‑6 tpcancel
CMDEAL abnormal is issued on the conversation with CONVID mapped from call descriptor.
 
Table 1‑7 tpconnect
Immediately after the allocate Oracle Tuxedo sends a CMSEND with no data and send_type set to CM_SEND_AND_PREP_TO_RECEIVE.
 
Table 1‑8 tpsend
 
Table 1‑9 tprecv
 
Table 1‑10 tpdiscon
 
Table 1‑11 tpforward
tpforward() is treated as if it were a tpacall(). A CMINIT and subsequent CMALLC are issued to initialize and allocate a session for a conversation. ClientID must be propagated to the CICS transaction in a TPSVCINFO record.
Refer to tpacall()

Copyright © 1994, 2017, Oracle and/or its affiliates. All rights reserved.