Outbound Chaining

The local node checks that outbound chains of requests conform to the correct SNA usage, to the chaining usage for the session, and to the current state of the session. The local node will accept valid outbound chains of data from the host if one of the following is true:

The local node sends a Data message to the application for each outbound request—but note the effects of the application specifying the segment delivery option in the connection information control block (see Segment Delivery). If the application does not specify segment delivery, then the BCI and ECI application flags in the message header reflect the chaining indicators in the RH of the request.

An outbound chain can terminate in several ways:

If an error occurs while receiving a chain, and the session uses half-duplex flip-flop protocols, then the application must assume an error-recovery-pending state (see Recovery).

For a session using half-duplex flip-flop protocols, if the application flags in the last Data message of the chain have the CDI (change direction) flag set, then:

The following four figures illustrate outbound chaining protocols between the local node and the application and how those protocols relate to the underlying SNA protocols.

In the first illustration, a complete outbound chain is received without error and accepted by the application; note that after sending Status-Acknowledge(Ack) the application has direction.

In the following illustration, a complete outbound chain is received without error, but is rejected by the application; note that even though the chain carried CD, the application does not have direction.

In the following illustration, the local node detects the invalid use of RQD without EC and converts the request to a Data message with the SDI application flag set, plus ACKRQD and appropriate sense codes. The application's Status-Acknowledge(Ack) drives the negative response to the host. This example assumes that the receive check 4007 has been specified in the CICB on the Open (SSCP).

In the following illustration, the host cancels the outbound chain.