Limiting Printer Access with the OUTFENCE Command [ Controlling System Activity ] MPE/iX 5.0 Documentation
Controlling System Activity
Limiting Printer Access with the OUTFENCE Command
Every output spoolfile is allocated a printpriority, from 0 to 14. This
is the value of the outpri parameter on the FILE command or the FOPEN
intrinsic. The OUTFENCE command sets an outputpriority limit (fence)
over which files with lower print priorities cannot pass. The value of
outputpriority ranges from 1 to 14.
A file will not print unless its printpriority is higher than the
outputpriority set by the OUTFENCE command. Outfence usually is set to a
default value of 14 on START RECOVER and 1 on all other bootups. User
files are given a default print priority of 8.
A file that is stopped from printing by OUTFENCE is not lost. It remains
on the output spooler queue until the OUTFENCE limit is lowered, the
file's own print priority value is raised, or the file is deleted.
The OUTFENCE command can be executed by users with the ALLOW command.
OUTFENCE Syntax
[;LDEV=ldev ]
[ ]
OUTFENCE outputpriority [ {ldev }]
[;DEV={devclass}]
{devname }
Table 5-9. OUTFENCE Parameters
--------------------------------------------------------------------------------------------
| | |
| Parameter | Description |
| | |
--------------------------------------------------------------------------------------------
| | |
| outputpriority | A number between 1 and 14, inclusive (larger is more limiting). |
| | |
--------------------------------------------------------------------------------------------
| | |
| ldev | Logical device number of the output device for which the output |
| | priority is set (optional parameter). If omitted, output |
| | priority is applied to all output devices. |
| | |
--------------------------------------------------------------------------------------------
| | |
| devclass | A device class containing at least one output spoolable device. |
| | Devclass must begin with a letter and consist of eight or few |
| | alphanumeric characters. |
| | |
--------------------------------------------------------------------------------------------
| | |
| devname | The spooled device name. Devname must begin with a letter and |
| | consist of eight or fewer alphanumeric characters. It is not |
| | possible to have a device class name and a device name which are |
| | the same. If you enter an alphanumeric character string, the |
| | command will search the device class list first, and then the |
| | device name list. |
| | |
--------------------------------------------------------------------------------------------
Setting the OUTFENCE Value
To set the limit to 14 for all ldevs on the system and limit all output,
enter:
OUTFENCE 14;DEV=EPOC
To set the limit for ldev 6 to 10 enter:
OUTFENCE 10;LDEV=6
To set the global outfence to 14, the outfence of ldev 6 to 8, and list
the results enter:
OUTFENCE 14
OUTFENCE 8;LDEV=6
LISTSPF
The system displays:
__________________________________________________________________________________
| |
| |
| SPOOLID JOBNUM FILEDES PRI COPIES DEV STATE RSPFN OWNER |
| |
| #O55 S16 PRNT 8 1 LP READY SM.MANAGER |
| #O56 J31 $STDLIST 8 1 LP SPSAVE S SM.MANAGER |
| |
| INPUT SPOOL FILES OUTPUT SPOOL FILES |
| ACTIVE = 0; CREATE = 0; READY = 1; |
| OPEN = 0; DEFER = 0; SELECTED = 0; |
| READY = 0; DELPND = 0; SPSAVE = 1; |
| PRINT = 0; |
| PROBLM = 0; |
| |
| TOTAL IN FILES = 0; TOTAL OUT FILES = 2; |
| IN SECTORS = 0; OUT SECTORS = 32; |
| |
| OUTFENCE = 14 |
| |
__________________________________________________________________________________
To reset the outfence to 4 for all output devices enter:
OUTFENCE 4
MPE/iX 5.0 Documentation