VTAM® attempts to start a
session with the controlling application program (the primary logical
unit). Following is an explanation of how VTAM reacts to the primary logical unit status:
- If the owning host of the secondary logical unit cannot find the
primary logical unit (the major node is not active) or is inactive,
the automatic logon session fails. VTAM does not automatically reallocate the failing session to
the primary logical unit; instead, the owning host of the secondary
logical unit creates a pending autologon request. VTAM retries pending autologon requests periodically
based on the settings of the AUTOTI and AUTORTRY start options.
- If the primary logical unit is in CONCT status (active to VTAM but OPEN ACB has not been
issued), the automatic logon fails with sense code 088A0003, and VTAM tries to set up the session
again when the primary logical unit issues OPEN ACB and SETLOGON OPTCD=START
macroinstructions.
- If the primary logical unit is deactivated through VTAM by an operator command and becomes inactive,
the secondary logical unit must reattempt the automatic logon session
using a secondary logical unit state change, or the operator can issue
a VARY ACT command for the secondary logical unit after the primary
logical unit is at least in CONCT status.
Note: If an SLU is in session
with its controlling application at the time of the PLU deactivation, VTAM retries the automatic logon
session. If VTAM retries to
establish a session and fails, a pending autologon request is created
in the owning host of the SLU. VTAM retries pending autologon requests periodically based on the settings
of the AUTOTI and AUTORTRY start options.