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

- ATMI client invokes
toupsrv
service. - The
toupsrv
service issuestpconnect
forSIMPDTP
, which is advertised in theDM_REMOTE_SERVICES
section of DMCONFIG file. TheTPRECVONLY
flag indicates the server gets control and the first conversation verbtoupsrv
can issue istprecv
. 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 theidata
buffer contents for processing. - The
TOUPDTPS
program processes data. - The
EXEC CICS SEND
command returns theOUT-BUFFER
contents into the clientstprecv odata
buffer.WAIT
suspends processing inTOUPDTPS
until the data has successfully been received.LAST
indicates the conversation is finished and is communicated to thetprecv
asTPEV_SVCSUCC
.
Parent topic: Distributed Transaction Processing (DTP) Examples