$P PRT(nnnnn) and $P R(nnnnn).PR(m) - Stop a printer
To stop a printer after it completes processing the current output group and then free the associated system resources.
- For PRT, the identifier of the local printer (1-32767) to stop. For R, the identifier of the remote workstation (1-32767) that is attached to printer m (1-7).
- The identifier of the printer (1-7) that is attached to the remote workstation Rnnnnn (1-32767).
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 update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
- If the printer being stopped is a 3800-1, there is always output remaining in the paper–line (that is, between the fuser and the stacker) after JES2 has freed the system resources. The operator should issue a non-process runout to stack this output group. (The non-process runout is issued by depressing the following 3800 keys in succession: STOP, NPRO, and READY.)
- If the printer being stopped is a 3800 printer or another channel attached printer operating in FSS mode, the device automatically generates NPRO if it is inactive for a period greater than the NPRO= value on the PRTnnnn statement. However, if NPRO is set to zero, this means that the timer-based NPRO is not to be used, and the operator must issue a non-process runout using the process described above.
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.
Upon completion, JES2 issues the $HASP097 message to indicate the device has been drained.
1 $p prt4,prt6,prt8,prt9 $HASP097 PRT4 IS DRAINED $HASP097 PRT6 IS DRAINED $HASP097 PRT8 IS DRAINED $HASP097 PRT9 IS DRAINED
JES2 stops printers 4, 6, 8, and 9 after they complete processing their current work and then frees the associated system resources.