2.2.6 ATMI Conversational Client to CICS/ESA DTP, Client Grants Control
Figure 2-15 DMCONFIG File Entry

- ATMI client invokes
toupsrvservice. - The
toupsrvservice issuestpconnectforSIMPDTP, which is advertised in theDM_REMOTE_SERVICESsection of DMCONFIG file. TheTPRECVONLYindicates the server gets control and the first conversation verbtoupsrvcan issue istprecv. - 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 asend stateindicator from thetpconnectTPRECVONLYflag. No data is received into theINBUFFER. - The
EXEC CICS SENDcommand returns theOUT-BUFFERcontents into the clientstprecv odatabuffer. TheEXEC CICS SENDcommand relinquishes control to the client by using theINVITEoption. This is communicated to thetprecvasTPEV_SENDONLY. - The
EXEC CICS RECEIVEcommand receives thetpsendidatacontents into the server’sIN-BUFFER, along with notification that the server has relinquished control. - The
EXEC CICS RETURNends the conversation, communicated to thetprecvasTPEV_SVCSUCC.
Parent topic: Distributed Transaction Processing (DTP) Examples