2.2.5 ATMI Conversational Client to CICS/ESA DTP, Client Sends/Receives Data
Figure 2-14 DMCONFIG File Entry

- ATMI client invokes
toupsrvservice. - The
toupsrvservice issuestpconnectforSIMPDTP, which is advertised in theDM_REMOTE_SERVICESsection of DMCONFIG file. TheTPSENDONLYindicates the client retains control and continues to send data. 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 thetpconnectidatabuffer contents for processing. - The
TOUPDTPSprogram processes data. - The
EXEC CICS RECEIVEcommand receives thetpsend idatacontents into the server’sIN-BUFFER. - The server processes the data.
- The
EXEC CICS SEND WAIT LASTreturnsOUT-BUFFERdata in thetprecvodatabuffer, along with notification that the conversation is over.
Parent topic: Distributed Transaction Processing (DTP) Examples