 |
» |
|
|
|
The OUTFENCE command defines the minimum priority that an output
spool file must have in order to print.
Syntax |  |
OUTFENCE outputpriority [;LDEV=ldev]
[;DEV= {ldev
devclass
devname}]
|
Parameters |  |
- outputpriority
Specifies a number between 1 and 14, inclusive. Spool file printing becomes
increasingly limited as the numbers become higher. For example, the number
1 limits spool file printing the least. The number 14 limits spool file
printing the most. The system prints individual spool files in the ready state only if their outputpriority is higher than the current outfence. - LDEV
Specifies the logical device number, ldev, of a printer.
You can use this parameter to selectively defer all output
spool files except those currently being printed by the specified LDEV.
(See Examples.)
- DEV
Consists of the following parameter values:
- ldev
Specifies the logical device number of an output device. - devclass
Specifies a device class containing at least one printer. This parameter value must begin with a letter and consist of eight or fewer alphanumeric characters. The device class name and device name cannot be the same. - devname
Specifies the name of the printer. This parameter value must begin with a letter and consist of eight or fewer alphanumeric characters. If you enter an alphanumeric character string, the command searches the device class list first, then the device name list. The device class name and device name cannot be the same.
Operation Notes |  |
Usage You can enter this command from a session, a job, a program, or
in break mode. Pressing Break does not affect
this command. You must enter this command from the console
unless your system administrator has used the ALLOW command, which permits
you to enter this command. Altering print priorities
You can prevent all spool files from printing by setting the outfence to
14. You can prevent a subset of spool files from printing by setting the
outfence higher than the outputpriority of any spool file in the group. You can alter the printing priority of a single file without affecting
the entire system by changing the output priority of the specific
spool file(s) using the ALTSPOOLFILE or SPOOLF command.
Examples |  |
To temporarily defer all output spool files except those waiting to be printed
by LDEV 6, which is usually configured as the system line printer, do
the following: Set the global outfence to 14 and the outfence of LDEV 6 to 7, as shown:
:OUTFENCE 14
:OUTFENCE 7;LDEV=6
|
This device-specific outfence takes precedence over the global
outfence. Display the new global outputpriority and the outputpriority
of logical device 6 by entering the LISTSPF or SHOWOUT command,
as shown: The system responds as shown:
DEV/CL DFID JOBNUM FNAME STATE FRM SPACE RANK PRI #C
6 #O999 #J19 $STDLIST OPENED 512 8 1
6 #O1030 #S77 EDLIST OPENED 512 8 1
SLOWLP #O1029 #S71 OUT READY 232 D 7 1
20 #O1001 #S60 $STDLIST OPENED
11 #O1022 #S33 GALLIST READY 768 D 7 1
5 FILES
0 ACTIVE
2 READY; INCLUDING 2 SPOOFLES, 2 DEFERRED
3 OPENED; INCLUDING 2 SPOOFLES
0 LOCKED; INCLUDING 0 SPOOFLES
4 SPOOFLES 2024 SECTORS
OUTFENCE = 14
OUTFENCE = 7 FOR LDEV 6
|
The summary statistics at the bottom of the listing immediately reflect
the new outfence. After all currently active spool files are finished,
no files directed toward a device other than LDEV 6 can become active. Reset the outfence for all output spool files, as shown:
To define an outfence of 5 for device class PP80, enter:
Related Commands |  |
ALTSPOOLFILE
LISTSPF
SHOWIN
SHOWOUT
SPOOLER
SPOOLF
|
|