Configuring and Controlling TPs
The following table shows how the characteristics of the transaction programs (TPs) and selection of the logical units (LUs) for a conversation are controlled.
Characteristic | How controlled |
---|---|
Type of verb: synchronous or asynchronous | Written into the code. Synchronous verbs use blocking calls; asynchronous verbs avoid blocking calls. See Receiving Data Asynchronously and WinAsyncAPPC. |
Type of conversation: basic or mapped | Written into the code. The MC_ prefix is used on verbs in mapped conversations and omitted on verbs in basic conversations. For two TPs to communicate successfully, both must use the same type of conversation, basic or mapped. See Basic and Mapped Conversations Compared. |
Type of TP: invoking or invokable | Written into the code. Invoking TPs start with TP_STARTED, which identifies the invoking TP, and ALLOCATE or MC_ALLOCATE, which identifies the requested invokable TP. Invokable TPs start with RECEIVE_ALLOCATE, which identifies the invokable TP. See Invoking TPs and Invokable TPs. |
The local LU alias to be used by an invoking TP | Three options: - Written into the code in TP_STARTED. - Configured (in Host Integration Server Manager as the default local APPC LU for the user who starts the invoking TP. - Configured as a member of the default outgoing local APPC LU pool using the SNA Manager on Host Integration Server. See Configuring Invoking TPs on Host Integration Server. |
The invokable TP requested by an invoking TP | Written into the ALLOCATE or MC_ALLOCATE request in the invoking TP. |
The LU alias to be used by an invokable TP | Two options: - Written into the invoking TP (not the invokable TP), in ALLOCATE or MC_ALLOCATE. - Configured as the default remote APPC LU for the user who starts the invoking TP. See Configuring Invoking TPs on Host Integration Server and Matching Invoking and Invokable TPs. |
Type of autostarted invokable TP: queued or nonqueued | Configured with registry or environment variables. See Configuring Invokable TPs. |
Local LU and remote LU aliases | Configured using SNA Manager on Host Integration Server. |
The pairing of local and remote LUs, and the mode used for each LU-LU pair | Configured using SNA Manager on Host Integration Server. |