2.2.6 ATMI Conversational Client to CICS/ESA DTP, Client Grants Control

Figure 2-15 DMCONFIG File Entry


DMCONFIG File Entry

  1. ATMI client invokes toupsrv service.
  2. The toupsrv service issues tpconnect for SIMPDTP, which is advertised in the DM_REMOTE_SERVICES section of DMCONFIG file. The TPRECVONLY indicates the server gets control and the first conversation verb toupsrv can issue is tprecv.
  3. User transaction DTPS starts TOUPDTPS program.
  4. 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.
  5. The EXEC CICS RECEIVE command receives a send state indicator from the tpconnect TPRECVONLY flag. No data is received into the INBUFFER.
  6. The EXEC CICS SEND command returns the OUT-BUFFER contents into the clients tprecv odata buffer. The EXEC CICS SEND command relinquishes control to the client by using the INVITE option. This is communicated to the tprecv as TPEV_SENDONLY.
  7. The EXEC CICS RECEIVE command receives the tpsend idata contents into the server’s IN-BUFFER, along with notification that the server has relinquished control.
  8. The EXEC CICS RETURN ends the conversation, communicated to the tprecv as TPEV_SVCSUCC.