2.2.10 Transactional ATMI Conversational Client to CICS/ESA DTP, Server Gets Control
Figure 2-19 DMCONFIG File Entry

- ATMI client invokes
toupsrv
service. - The
toupsrv
service issuestpbegin
to start the transaction. - The
toupsrv
service issuestpconnect
forSIMPDTP
, which is advertised in theDM_REMOTE_SERVICES
section of DMCONFIG file. TheTPRECVONLY
indicates the server gains 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.CONFIRM
indicates that the conversation is finished and is communicated to thetprecv
asTPEV_SVCSUCC
.INVITE
enables the client to respond with aCOMMIT
request. - The
toupsrv
service issuestpcommit
to end the transaction. TheCOMMIT
is received on theEXEC
CICS RECEIVE
verb and the server issuesEXEC
CICS RETURN
to commit the resources, terminate the transaction, and free the outstanding conversation.
Parent topic: Distributed Transaction Processing (DTP) Examples