2.3.9 Host CPI-C to ATMI Conversational Service, Client Retains Control
Figure 2-29 DMCONFIG File Entry

- The CPI-C application program MIRRCPIC is 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 toMIRRORSERVin the DM_LOCAL_SERVICES section of the DMCONFIG file. - The
cmsendrequest sends the contents ofobufferto the ATMI service in thetpsvcinfo->databuffer. - The
cmdealrequest flushes the data and ends the conversation, as indicated byTPNOREPLYin thetpsvcinfo->flagfield.
Parent topic: CPI-C Programming Examples