SNAX/APC Configuration and Management Manual
Objects for SNAX/APC
SNAX/APC Configuration and Management Manual—138787
7-15
PTNR-MODE States
PTNR-MODE States
The following describes the states of the PTNR-MODE object.
1. The PTNR-MODE object may be created in one of two ways. You can either create
the PTNR-MODE object by using the ADD PTNR-MODE command, or allow it to
be created dynamically. If you create the PTNR-MODE object it will be placed in
the STOPPED state. The partner mode will only be started if CNOS information is
properly exchanged.
2. When a START PTNR-MODE command is issued, an
INITIALIZE_SESSION_LIMIT (ISL) CNOS verb is issued, and the PTNR-MODE
object enters the STARTING state. (If the local LU is in the STARTING state, the
PTNR-MODE object remains in the STARTING state until the local LU has been
successfully started, at which time the PTNR-MODE object enters the STARTED
state.)
3. If the ISL verb completes with the return code set to OK, the PTNR-MODE object
enters the STARTED state. If the return code is not OK or if an ABORT PTNR-
MODE or STOP PTNR-MODE command is issued at this time, the PTNR-MODE
object returns to the STOPPED state.
4. If the local LU receives a file system error from the underlying access method while
the PTNR-MODE object is in STARTED state, the local LU and the PTNR-MODE
object return to the STARTING state.
5. The PTNR-MODE object enters the STOPPING state from the STARTED state
when it receives either an ABORT PTNR-MODE or STOP PTNR-MODE
command, which evokes a RESET_SESSION_LIMIT (RSL) CNOS verb.
6. If the RSL verb for the STOP PTNR-MODE command completes with the return
code not set to OK, and the FORCE parameter is not used, the PTNR-MODE object
returns to the STARTED state. If the RSL verb for the STOP PTNR-MODE or
ABORT PTNR-MODE command completes with the return code set to OK, the
PTNR-MODE object enters the STOPPING and then STOPPED state.
7. The PTNR-MODE object returns from the STOPPED state to the STARTED state if
the remote LU sends an INITIALIZE_SESSION_LIMIT (ISL) CNOS verb.
8. If a DELETE command is received while the PTNR-MODE object is in the
STOPPED state, the PTNR-MODE object ceases to exist.
Figure 7-6
illustrates how the different requests and commands affect the state of the
PTNR-MODE object, in the case of a static definition of a single session. Further
considerations apply in the case of a dynamically-added PTNR-MODE object,
especially for parallel sessions. These considerations are discussed after Figure 7-6.