Connecting the partner transaction
When the front-end transaction has acquired a session, the next step is to initiate the partner transaction.
The state tables show that, in the allocated state (state 1), one of the commands available is CONNECT PROCESS. This command is used to attach the required back-end transaction. It should be noted that the results of the CONNECT PROCESS are placed in the send buffer and are not sent immediately to the partner system. Transmission occurs when the send buffer is flushed, either by sending more data than fits in the send buffer or by issuing a WAIT CONVID command.
A successful CONNECT PROCESS causes the conversation to switch to send state (state 2). The program fragment in Figure 1 shows an example of a CONNECT PROCESS command.