$P LOGON(nnnnn) - Stop the JES2/VTAM interface
Function
To stop the logon after current activity completes.
Syntax
Parameters
- (nn|mm|*)
- The subscript that defines the stopped JES2/VTAM interfaces. You can specify a single interface using the value of n on the LOGON(n) initialization statement that defines the interface. The subscript can also specify a range of values.
- RESTART=(Yes|No,interval)
- Specifies whether this logon will be restarted if it is drained. The interval is the time (in minutes) between attempted restarts. The valid range for interval is 0 to 1440. An interval value of 0 indicates that the default interval (from NJEDEF CONNECT=) is used.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure that the authority of the appropriate MVS™ system command group is assigned.
This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
Sessions that are already established on this interface are allowed to finish normally.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP881 message displays the current status of the specified LOGONs.
Examples
1 $p logon1
$HASP881 LOGON1 APPLID=JESA,STATUS=DRAINED
JES2 stops the JES2/VTAM interface identified by LOGON1.
1 $plogon1,restart=no
$HASP881 LOGON1 APPLID=JESA,STATUS=DRAINING