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

- ATMI client invokes
toupsrv
service. - The
toupsrv
service issuestpconnect
forSIMPDTP
, which is advertised in theDM_REMOTE_SERVICES
section of DMCONFIG file. TheTPSENDONLY
indicates the client retains control and continues to send data. Data is sent on thetpconnect
in theidata
buffer. - User transaction DTPS starts
TOUPDTPS
program. - It is recommended you save the
EIBTRMID
to a program variable. This value may be used to identify the specific conversation on your CICS/ESA APPC verbs. - The
EXEC CICS RECEIVE
command receives thetpconnect
idata
buffer contents for processing. - The
TOUPDTPS
program processes data. - The
EXEC CICS RECEIVE
command receives thetpsend idata
contents into the server’sIN-BUFFER
. - The server processes the data.
- The
EXEC CICS SEND WAIT LAST
returnsOUT-BUFFER
data in thetprecv
odata
buffer, along with notification that the conversation is over.
Parent topic: Distributed Transaction Processing (DTP) Examples