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

- The CPI-C application program
MIRRCPICis invoked using environment start-up specifications. - The
MIRRCPICclient requestscminitto 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
cmallcrequest initiates the advertised service mapped toMIRRORin the DM_LOCAL_SERVICES section of the DMCONFIG file. - The
cmptrrelinquishes control of the conversation to the ATMI service indicated asTPSENDONLYin thetpsvcinfo->flagfield. No data is passed in thetpsvcinfo->datafield. - The
cmrcvreceives the contents of thetpsend odatainto theibuffer. The end of the conversation is passed from thetpreturnservice as return code valueCM_DEALLOCATED_NORMAL.
Parent topic: CPI-C Programming Examples