Previous Topic: ATTACH Transaction-Allocate a Procedure

Next Topic: APPC Client/Server Processing

CONNECT Transaction-Connect to an Active Process

The APPC in your product incorporates the system CONNECT transaction that requests a connection between the a client procedure and any other active NCL process to act as a server. It establishes the usual APPC conversation connection. For example:

&APPC CONNECT NCLID=nclid DOMAIN=test

This form of allocation proceeds as a special internal transaction, and sets up the conversation between the client and the nominated server process if permitted by the server. The system TCT entry for the CONNECT transaction is used to complete allocation options.

Note: The process must be active or the conversation will terminate with an allocation failure.

Once connected, the conversation is available in the target procedure exactly as it would had a standard allocation request been issued. The conversation is operated by both partners in the usual manner.