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
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 toMIRRORSERV
in the DM_LOCAL_SERVICES section of the DMCONFIG file. - The
cmsend
request sends the contents ofobuffer
to the ATMI service in thetpsvcinfo->data
buffer. - The
cmdeal
request flushes the data and ends the conversation, as indicated byTPNOREPLY
in thetpsvcinfo->flag
field.
Parent topic: CPI-C Programming Examples