2.3.10 Host CPI-C ATMI to Conversational Service, Client Grants Control
Figure 2-30 DMCONFIG File Entry

- The CPI-C application program
MIRRCPIC
is invoked using environment start-up specifications. - The
MIRRCPIC
client requestscminit
to establish conversation attributes and receive a conversation ID that will be used on all other requests on this conversation. The remote server and service are named in the CPI-C side information entryMIRRSIDE
. - The
cmallc
request initiates the advertised service mapped toMIRROR
in the DM_LOCAL_SERVICES section of the DMCONFIG file. - The
cmptr
relinquishes control of the conversation to the ATMI service indicated asTPSENDONLY
in thetpsvcinfo->flag
field. No data is passed in thetpsvcinfo->data
field. - The
cmrcv
receives the contents of thetpsend odata
into theibuffer
. The end of the conversation is passed from thetpreturn
service as return code valueCM_DEALLOCATED_NORMAL
.
Parent topic: CPI-C Programming Examples