Spooler Plus Programmer's Guide
Spooler Procedure Calls
Spooler Plus Programmer’s Guide—522293-003
4-38
SPOOLERCOMMAND Procedure and Subcommand
Parameters
The program-filename parameter can be specified as either an INT:12 or a
STRING:24. The format in either case is
$Volume name in bytes 0-7
Subvolume name in bytes 8-15
File name in bytes 16-23
Spoolcom SPOOLER Command Parameters
To send the equivalent of a Spoolcom SPOOLER command, specify a file number for
the filenum-of-supervisor parameter and a command-code of 6. The
command-parameter does not exist, but a place-holder comma for it must be
supplied. Find the subcommand-code and the subcommand-parameter for the
Spoolcom SPOOLER parameters you want from Table 4-8
.
filenum-of-supervisor: a file number
command-code: 6
For example, to issue the DRAIN subcommand to stop the spooler in an orderly
manner, you could enter the following:
COM^ERROR := SPOOLERCOMMAND (4, 6, , 114, );
Refer to the Spooler Plus Utilities Reference Manual for a description of the Spoolcom
SPOOLER parameters.
Table 4-7. SPOOLERCOMMAND Parameters for Spoolcom PRINT
Spoolcom PRINT
Subcommand
subcommand-code
(Fourth Parameter)
subcommand-parameter
(Fifth Parameter)
blank 100 None
BACKUP 143 backup-cpu (INT:1)
CPU 142 cpu (INT:1)
DEBUG 147 0 = off, 1 = on (INT:1)
DELETE 116 None
FILE 141 program-filename (STRING:12)
PARM 148 print-process-
param
(INT:1)
PRI 144 process-priority (INT:1)
START 115 None
SUMMARY 167 None