Previous Page Contents Page Next Page

1.10 APPC and CPI-C

The Common Programming Interface for Communications (CPI-C) application programming interface, another SNAP-IX API, provides many of the functions of APPC but with a different style of interface.

Where an APPC application sets parameters in a verb control block and then calls a single entry point to APPC with the address of the block, a CPI-C program calls a different entry point for each verb and passes the required information as parameters on the call.

Although the programming interfaces for APPC and CPI-C are different, the actual data transmitted between programs is the same. This means that a CPI-C application can communicate with an APPC TP, just as two APPC TPs or two CPI-C applications can communicate with each other. The APPC TP does not need to know whether its partner is an APPC TP or a CPI-C application.

The only restriction on an APPC TP for communications with a CPI-C application is that it must not send Program Initialization Parameters (PIP data) when allocating the conversation, because CPI-C does not support receiving PIP data. For more information about PIP data, see the description of the [MC]ALLOCATE verb in APPC Conversation Verbs.

Previous Page Contents Page Top of Page Next page