2.2.4 ATMI Conversational Client to CICS/ESA DTP, Server Gets Control
Figure 2-13 DMCONFIG File Entry

- ATMI client invokes
toupsrvservice. - The
toupsrvservice issuestpconnectforSIMPDTP, which is advertised in theDM_REMOTE_SERVICESsection of DMCONFIG file. TheTPRECVONLYflag indicates the server gets 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.WAITsuspends processing inTOUPDTPSuntil the data has successfully been received.LASTindicates the conversation is finished and is communicated to thetprecvasTPEV_SVCSUCC.
Parent topic: Distributed Transaction Processing (DTP) Examples