IBM AS/400 manual Communications applications

Models: AS/400

1 104
Download 104 pages 4.57 Kb
Page 25
Image 25

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 program-to-communications (APPC). The interface makes use of the System Network Architecture (SNA) LU (logical unit) 6.2 architecture to do the following:

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 Request-to-Send only when necessary.

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 GuideChapter 4. Communications applications 19

Chapter 4. Communications applications 19

Page 25
Image 25
IBM AS/400 manual Communications applications