Bracket Termination
The local node supports bracket termination rule one (conditional) and bracket termination rule two (unconditional), as specified in the BIND request. Some sessions only allow bracket termination by one session partner. This is a BIND option, supplied in the bind information control block (BICB) on Open(PLU) OK Confirm), and it is the application's responsibility to determine if (and when) it should request bracket termination.
If an application is allowed by its BIND to terminate brackets, it does so by setting the End Bracket Indicator (EBI) application flag in an inbound Data or Status-Control(LUSTAT/CHASE/QC/CANCEL) message. The bracket is only terminated when the application receives a Status-Session (BETB) from the local node.
If the host terminates a bracket successfully, the local node sends a Status-Session(BETB) to the application. Note that the EBI application flag on outbound messages does not indicate bracket termination, but indicates that the corresponding request/response unit (RU) carried End Bracket (EB). The bracket is only terminated when the application receives Status-Session(BETB).
Note that if the application queues data, it should also queue Status-Session(BETB) messages. They must not be processed as expedited.
The following two figures illustrate bracket termination protocols between the local node and the application and how those protocols relate to the underlying SNA protocols.
In the following figure, the application successfully terminates a bracket by sending an EBI data chain when the application's state is in-bracket, which the host accepts. The local node sends a Status-Session(BETB) to indicate that the application's state is now between-bracket.
Application successfully terminates a bracket by sending an EBI data chain
In the following figure, the host successfully terminates a bracket by sending an EBI data chain when the application's state is in-bracket, which the application accepts. The local node sends a Status-Session(BETB) to indicate that the application's state is now between-bracket.
Application successfully terminates a bracket by sending an EBI data chain
See Also
Opening the PLU Connection
PLU Session
Outbound Chaining
Inbound Chaining
Segment Delivery
Brackets
Direction
Pacing and Chunking
Confirmation and Rejection of Data]
Shutdown and Quiesce
Recovery
Application-Initiated Termination
LUSTATs]
Response Time Monitor Data