Performance considerations for Common Programming Interface Communications
You can use Common Programming Interface Communications (CPI Communications) to write application programs that you want to communicate with advanced
vEstablish a conversation
vSend and receive data
vExchange control information
vEnd a conversation
vNotify a partner program of errors.
Intersystem communications feature (ICF) and CPI Communications programs have similar performances for small data transfers.
To optimize CPI Communications application programs, do the following:
vMinimize the use of flush and confirm.
vReceive a compile record and parse it in your buffer.
vDo not use multiple receive calls to receive a single record.
vUse
To add or change communications entries to get the system set up for CPI Communications, do the following:
1.Type appropriate command on the AS/400 command line and press F4. v Add Communications Entry (ADDCMNE)
vRemove Communications Entry (RMVCMNE)
vChange Communications Entry (CHGCMNE)
2.Use the online help information to change, add, or remove parameter values.
3.Press Enter. The communications entries are added, changed or removed.
For more information about configuring CPI Communications, see:
v“Application program interface (API) performance considerations” on page 17
vCICS/400 Administration and Operations Guide