Spooler Plus Programmer's Guide
Spooler Procedure Calls
Spooler Plus Programmer’s Guide—522293-003
4-37
SPOOLERCOMMAND Procedure and Subcommand
Parameters
The data-filename and the program-filename parameters 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 PRINT Command Parameters
To send the equivalent of a Spoolcom PRINT command, specify a file number for the
filenum-of-supervisor parameter, a command-code of 5, and the command-
parameter, which in this case is the name of the print process, not exceeding three
words in length. Find the subcommand-code and the subcommand-parameter for
the Spoolcom PRINT parameters you want from Table 4-7
.
filenum-of-supervisor: a file number
command-code: 5
command-parameter: a print process
For example, to specify the backup processor that the print process is to run in
(CPU2), you could enter the following:
INT .PP [0:2] := ["$SPLP "];
COM^ERROR := SPOOLERCOMMAND (4, 5, PP, 143, 2);
Refer to the Spooler Plus Utilities Reference Manual for a description of the Spoolcom
PRINT parameters.
Table 4-6. SPOOLERCOMMAND Parameters for Spoolcom COLLECT
Spoolcom COLLECT
Subcommand
subcommand-code
(Fourth Parameter)
subcommand-parameter
(Fifth Parameter)
blank 100 None
BACKUP 143 backup-cpu (INT:1)
CPU 142 cpu (INT:1)
DATA 145 data-filename (STRING:12)
DELETE 116 None
DRAIN 114 None
FILE 141 program-filename (STRING:12)
PRI 144 process-priority (INT:1)
START 115 None
SUMMARY 167 None
UNIT 146 unit-size (INT:1)