Examples of APPC Operations
LU 6.2 Operations describes possible LU 6.2
operations in abstract terms.
Both LU 6.2 APIs offer these services (and others), and both
offer services that allow you to combine two or more of these basic operations
to improve performance. The following sections use these terms when discussing
the types of conversations to avoid contrasting the details of each API. For
example, the term Send used in LU 6.2 Operations can
represent the APPC verbs SEND_DATA, or MC_SEND_DATA, or the CPI-C function
CMSEND.
| Operation | What the Operation Does |
|---|---|
| Send | Sends a block of data to the other program. |
| Receive | If currently in send state, transmits any buffered output data and enters receive state. Waits for data to arrive and receives it. |
| Await confirmation | Transmits any buffered output data. Waits until the partner program confirms that it has received and processed all data. |
| Confirm | Sends the partner program confirmation that all data has been received and processed. |
| Error | If in receive state, purges any buffered input data and enters send state. If currently in send state, purges any buffered output data. Causes the partner program's current operation to end with a special return code. |
| Close | If currently in send state, transmits any buffered output data. Ends the conversation. |