Spooler Utilities Reference Manual

Spooler Quick Start
Spooler Utilities Reference Manual522295-003
1-4
Starting the Spooler
Starting the Spooler
This subsection discusses the various methods of starting a spooler and provides
example command files. The key distinction between a cold start and a warm start is
that in a cold start the supervisor is run with a new control file, while in a warm start the
supervisor is given the name of a control file that already exists. In operational terms,
warmstarting the spooler recovers existing jobs and configurations and coldstarting the
spooler erases any stored print jobs and previous spooler configuration settings.
Warm Starting a Spooler
Example 1-3 shows a command file that warm starts the spooler. Warmstarting a
spooler recovers existing print jobs and configuration settings. Once the spooler has
been brought up, the printer devices should be in the WAITING state. This command
file can be invoked automatically from a system startup file (an example of which is in
the Himalaya S-Series Planning and Configuration Guide), or you can invoke it by
using the following TACL command:
> OBEY $SYSTEM.STARTUP.SPLWARM
| ELSE | == It's a WARMSTART
FUP GIVE ($SYSTEM.SYSTEM.CSPOOL,$SYSTEM.SYSTEM.PSPOOL, &
$SYSTEM.SYSTEM.SPOOL),30,1
FUP SECURE ($SYSTEM.SYSTEM.CSPOOL,$SYSTEM.SYSTEM.PSPOOL, &
$SYSTEM.SYSTEM.SPOOL),"NUNU",PROGID
SPOOL /IN $OPER.SPLS.SPL,TERM $YMIOP.#CNSL,NAME $SPLS,NOWAIT,PRI 150,CPU 0/1
SPOOLCOM ;SPOOLER,START
] == ENDIF
#POP #DEFAULTS
#DELAY 200
[#IF NOT [#PROCESSEXISTS $SPLS]
| THEN | #OUTPUT *** ERROR *** PROCESS $SPLS WILL NOT START
| ELSE | #OUTPUT $SPLS Process Started...
]
] == Endif
Caution. Always back up the Spooler control files before attempting to start the Spooler. This
action preserves Spooler settings if there is a system problem and, if necessary, the backed-up
control files can be available for analysis.
Example 1-2. Spooler Start Macro (page2of2)