Setting Up Some Basic Tasks [ Native Mode Spooler Reference Manual ] MPE/iX 5.0 Documentation
Native Mode Spooler Reference Manual
Setting Up Some Basic Tasks
Configuring devices
Some extensions to device configuration apply to spooling. Refer to the
System Startup, Configuration, and Shutdown Reference Manual
(32650-90042) for information about configuring a device.
Spool File space and limits.
With NMS in place, you need not use SYSGEN to configure MAX NUMBER OF
SPOOLFILE KILOSECTORS or the maximum number of open spool files.
Instead, you set a file space limit for the HPSPOOL account with the
ALTACCT command. You can set a file space limit on the IN and OUT groups
independently with the ALTGROUP command if necessary. During
installation or the initial update, the HPSPOOL account and its groups
are created with unlimited file space.
Each spool file is potentially 4 Gbytes long, the same as most files on
MPE/iX.
Allowing users control of spooled devices with the ASSOCIATE facility
If you are a general user, you must use the ASSOCIATE command to gain
control of a device class. This command links a device class, such as
LP, to an individual user on the system. Before you can be associated,
the system manager must run a utility program (the version of
ASOCTBL.PUB.SYS that matches your operating system) in order to create a
device class user association table. This table defines which users may
be associated with which device classes. Multiple users can be in the
table for a given class, but only one user at a time is allowed to be the
controller of the devices in a device class at any given time.
The following operator commands that relate to spooling are then
available to you once you are associated to a device or if you are at the
console:
SPOOLER dev ;START
;STOP
;SUSPEND
;RESUME
;OPENQ
;SHUTQ
ALTSPOOLFILE
DELETESPOOLFILE
FORMSALIGN
HEADOFF
HEADON
OPENQ
OUTFENCE
RESUMESPOOL
SHUTQ
STARTSPOOL
STOPSPOOL
SUSPENDSPOOL
dev is either a logical device number, a device class, or a device name.
More information about the ASSOCIATE command is in the MPE/iX Commands
Reference Manual Volumes 1 and 2 (32650-90003 and 32650-90364).
Initiating spooling
To initiate spooling, you can use the SPOOLER command with the START
parameter as follows:
SPOOLER dev ;START
The dev parameter is a logical device number, a device class, or a device
name.
You can also use the STARTSPOOL command. The commands SPOOLER
deviceclass ;START and STARTSPOOL deviceclass affect all devices
that belong to that device class just as though you issued the
SPOOLER...;START or STARTSPOOL command for each individual device.
Previously, STARTSPOOL deviceclass only opened spooling queues for that
device class. Any FOPEN using that device class name would generate a
spool file. Spooling processes were not started for the actual devices
in the device class.
Automatically initiating spooling with system startups.
There are two methods that you can use to automatically spool devices
each time you boot the system. They include using the SYSSTART file or
configuring devices as initially spooled.
The system startup file (SYSSTART.PUB.SYS) may contain commands to enable
spooling and to start spooling processes. What follows is an example of
a system startup file.
STARTUP
ALLOW @.@;COMMANDS=LOG
comment System Startup File
OUTFENCE 14
spooler 6;openq
spooler 19;openq
spooler 18;start
streams 10
headoff 18
limit 5,30
outfence 6
jobfence 7
Welcome SYSMSG.MESSAGE
VMOUNT ON,AUTO
Comment End of systart file.
The system manager oversees any changes to the system startup file.
You can also use SYSGEN to configure devices so that they are
automatically spooled during system startup. Refer to the System
Startup, Configuration, and Shutdown Reference Manual (32650-90042).
MPE/iX 5.0 Documentation