Spooler Utilities Reference Manual
Spoolcom
Spooler Utilities Reference Manual—522295-003
4-4
Entering Spoolcom Commands
Entering Spoolcom Commands
A Spoolcom command consists of a command word sometimes accompanied by a 
parameter; it can be followed by one or more subcommands. The command and its 
parameter are separated from the subcommands by commas. Subcommands are also 
separated from each other by commas.
For example, to specify the report name TAL COMPILE for job number 1635, enter the 
following Spoolcom command:
JOB is the command, and the parameter 1635 indicates that job number 1635 is being 
referred to. To change the job report name, you must put the job in the HOLD state. 
Use the subcommand REPORT to specify the report name TAL COMPILE for the job. 
(The spooler converts all keyed input to uppercase letters.) After changing the report 
name, use the subcommand START to put the job back in the device queue. (In the 
comparable statement in Peruse, the HOLD and START of a job are invisible to the 
user.)
Spoolcom allows you to enter commands affecting a job, a collector, or any other 
spooler component on a single line or on separate lines. However, each command line 
must be complete. For example, to enter the above subcommands on three separate 
lines, you must repeat the command JOB and the parameter 1635 on each line:
)JOB 1635, HOLD
)JOB 1635, REPORT TAL COMPILE
)JOB 1635, START
These three commands have the same effect as the single command line shown 
earlier. In fact, each subcommand can be viewed as a separate command. Each 
subcommand is processed left to right, with each being completely processed before 
the next subcommand is executed. The only exception to this is the DRAIN 
subcommand, because it can take some time for a component to completely drain. 
Spoolcom puts the component in the drain state but does not wait for the drain to 
finish.
)JOB 1635, HOLD, REPORT TAL COMPILE, START










