2.2.7 CICS/ESA DTP to ATMI Conversational Server, Client Retains Control
Figure 2-16 DMCONFIG File Entry
![DMCONFIG File Entry DMCONFIG File Entry](img/prog-2.1.16.jpg)
- User-entered
H0TP
invokesMIRRDTPC
program. - The
EXEC CICS ALLOCATE
acquires a session to the remote Tuxedo domain. - Save the conversation ID returned in
EIBRSRCE
to a program variable. This value is used to identify the specific conversation in your CICS/ESA APPC verbs. - The
EXEC CICS CONNECT PROCESS
command initiates the advertised service mapped toMIRROR
in the DM_LOCAL_SERVICES section of the DMCONFIG file. - Execute the
EXEC CICS SEND
command to send the contents of theOUT-BUFFER
to the Tuxedo service in thetpsvcinfo->data
buffer. The contents might be sent immediately. - The
EXEC CICS SEND INVITE WAIT
command sendsout-buff
contents into thetprecv odata
buffer. TheINVITE
parameter relinquishes control of the conversation, seen as aTPEV_SENDONLY
in thereevent
parameter on thetprecv
command. The data is sent immediately, along with the data from the previousSEND
operation. - The Tuxedo service processes data.
- The CICS/ESA server processes data.
- The ATMI
tpreturn
data returns data to theEXEC CICS RECEIVE
, along with notification that the conversation completed successfully.
Parent topic: Distributed Transaction Processing (DTP) Examples