A SERVICE OF

logo

624 Chapter 8
Command Definitions SP-Z
SPOOLER
tape and placing it offline). When this is complete, the spooler displays the
following message on the console (or the $STDLIST of an associated user)
and terminates:
Input spooler, LDEV #ldev: Stopped.
You may determine the spooler state at any time by entering the following:
SPOOLER ldev;SHOW
The STOP option is valid only if a spooler is in the IDLE or ACTIVE state.
Except for a short period during startup when it is in the START state, an
input spooler is always in the IDLE or ACTIVE state.
The NOW, FINISH, OPENQ, and SHUTQ options are not applicable to an
input spooler process and result in an error message if any is used.
SUSPEND The SUSPEND option is valid only for output spooler processes. It suspends
output to one or more spooled devices. The associated spooler processes
remain alive, but inactive. A spooler in the ACTIVE state first moves to the
SUSPEND pending state (shown as *SUSPEND with the SHOW option) while
it finishes its work on its current file (including any required trailer).
When this is complete, or if the spooler was previously in the IDLE state,
the spooler displays the following on the console (or the $STDLIST of an
associated user) and enters the SUSPEND state.
Output spooler, LDEV #ldev: Suspended.
If neither the NOW nor the FINISH option is specified, NOW is taken as the
default. If neither the KEEP nor the NOKEEP option is specified, KEEP is
taken as the default. If the OFFSET option is not specified, the spooler
retains the present location in the output spool file. This is the default.
The combination of the NOW, KEEP, and no OFFSET parameters (all
defaults) is a special case. When an active spooler receives this form of the
SUSPEND option, it suspends after processing the current record. A
subsequent SPOOLER...; RESUME with no OFFSET parameter and
without an intervening SPOOLER...;RELEASE causes the spooler to
resume at the next record, as if it had never been interrupted.
If a spooler process is suspended in the middle of a spool file and the file is
not retained by the spooler, a page number is saved in the spool file's file
label extension (FLABX). This page number is either the last complete
page that was printed (if no OFFSET was specified) or one page prior to
that specified by the final OFFSET applied to the file (with a lower limit of
0). The next time the file is selected for printing by any spooler, output
resumes at the page following the page saved in the FLABX.
NOTE Because of the large amount of data buffered in the file system and the
device, the device may continue to print, making it appear as if the SUSPEND
parameter has not had any effect. In reality, the spooler stops sending data to
the device when the command is received but must wait until all buffered