$P Lnnnn.xxn - Stop an NJE device
Function
To stop the specified NJE transmitting or receiving devices after they complete their current work. If a receiver (JR or SR) is drained and the transmitter (JT or ST) device on the other side of the NJE connection tries to send a permission to allocate stream, such as sending work across the line, it will be rejected by the receiving side because the receiving device is drained. This rejection causes the transmitter device to drain. You must ensure that both the receiver and transmitter are restarted ($S) for work to begin transmitting again.
Syntax
Parameters
- Lnnnn.JRn
- The job receiver on line nnnn that is stopped.
- Lnnnn.JTn
- The job transmitter on line nnnn that is stopped.
- Lnnnn.SRn
- The SYSOUT receiver on line nnnn that is stopped.
- Lnnnn.STn
- The SYSOUT transmitter on line nnnn that is stopped.
Authority Required
This command requires device 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.
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 $HASP000 message indicates the command was accepted.
Upon completion, the $HASP097 message indicates that the device is drained.
Example
1 $p l3.sr1,l5.jt2
$HASP000 OK
$HASP097 SR1 IS DRAINED
$HASP097 JT2 IS DRAINED
JES2 stops SYSOUT receiver 1 on line 3 and job transmitter 2 on line 5 after they complete their current activity.