COBOL Manual for TNS and TNS/R Programs
Printer and Spooler Output
HP COBOL Manual for TNS and TNS/R Programs—522555-006
30-15
Using SPOOLCOM
If you have a job in the HOLD or READY state, you can delete it by making it the
current job and issuing the DELETE command.
Using SPOOLCOM
Although most of your interaction with the spooler is likely to be through PERUSE or
another perusal process, there are a few things you might want to do for which
SPOOLCOM can be more helpful than PERUSE. The main value of SPOOLCOM is
that it shows you the date each job was created, and it also enables you to perform
operations on groups of jobs.
SPOOLCOM is intended primarily for system operators (members of the super group).
These users have privileged access to the system. If you do not have privileged
access, SPOOLCOM restricts the variety and complexity of operations available to
you.
SPOOLCOM does have the ability to accept commands on the (implicit) RUN
command line and to accept commands from an IN file specified as a RUN option, but
the way you are most likely to use SPOOLCOM is run it like any other process:
104> SPOOLCOM
SPOOLCOM introduces itself with this header:
SPOOLCOM - T9101C00 - (15JUL87) SYSTEM \LEO
)
The right parenthesis is the SPOOLCOM prompt. Table 30-3 lists some of the
commands available to you, but it is not a complete list of SPOOLCOM commands.
For more information, see the Guardian User’s Guide.
Table 30-3. SPOOLCOM Operations and Commands (Partial List) (page1of2)
Operation Command
Report the status of a particular collector or all collectors COLLECT
Report the state of a device in the spooler system DEV
Skip pages on a report that a particular device is printing DEV
Restart a device that has been stopped by a device error DEV
Escape from SPOOLCOM EXIT or
Control-Y
Show proper syntax of all SPOOLCOM commands HELP
Operate on one or more of your jobs in the spooler, such as reporting their
status, changing their attributes or ownership, deleting them, starting them
(shifting them from HOLD state to READY state), and so on
JOB
Report the status of one or more locations (including their destinations) LOC
Report a cross-reference list of locations, devices, and print processes LOC