2.2.10 Transactional ATMI Conversational Client to CICS/ESA DTP, Server Gets Control
Figure 2-19 DMCONFIG File Entry

- ATMI client invokes
toupsrvservice. - The
toupsrvservice issuestpbeginto start the transaction. - The
toupsrvservice issuestpconnectforSIMPDTP, which is advertised in theDM_REMOTE_SERVICESsection of DMCONFIG file. TheTPRECVONLYindicates the server gains control and the first conversation verbtoupsrvcan issue istprecv. Data is sent on thetpconnectin theidatabuffer. - User transaction DTPS starts
TOUPDTPSprogram. - It is recommended you save the
EIBTRMIDto a program variable. This value may be used to identify the specific conversation on your CICS/ESA APPC verbs. - The
EXEC CICS RECEIVEcommand receives theidatabuffer contents for processing. - The
TOUPDTPSprogram processes data. - The
EXEC CICS SENDcommand returns theOUT-BUFFERcontents into the clientstprecv odatabuffer.CONFIRMindicates that the conversation is finished and is communicated to thetprecvasTPEV_SVCSUCC.INVITEenables the client to respond with aCOMMITrequest. - The
toupsrvservice issuestpcommitto end the transaction. TheCOMMITis received on theEXECCICS RECEIVEverb and the server issuesEXECCICS RETURNto commit the resources, terminate the transaction, and free the outstanding conversation.
Parent topic: Distributed Transaction Processing (DTP) Examples