Spooler Plus Programmer's Guide

Spooler Procedure Calls
Spooler Plus Programmers Guide522293-003
4-34
SPOOLERCOMMAND Procedure and Subcommand
Parameters
Spoolcom JOB Command Parameters
To send the equivalent of a Spoolcom JOB command, specify a file number for the
filenum-of-supervisor parameter, a command-code of 2, and the command-
parameter, which in this case is a job number. Find the subcommand-code and
the subcommand-parameter for the Spoolcom JOB parameters you want from
Table 4-4
.
filenum-of-supervisor: a file number
command-code: 2
command-parameter: a job number
For example, to specify the priority of job number 412 as 6, enter the following:
COM^ERROR := SPOOLERCOMMAND (4, 2, 412, 126, 6);
Refer to the Spooler Plus Utilities Reference Manual for a description of the Spoolcom
JOB parameters.
PREXLATE 134 0 = off, 1 = on (INT:1)
PROCESS 102 process-
name
(INT:3)
RESTART 120 interval (INT:1)
RETRY 105 interval (INT:1)
SKIP 108 + num-pages
num-pages
(INT:1)
SKIPTO 109 page-num (INT:1)
SPEED 101 lpm (INT:1)
START 115 none
STARTFF 137 0 = off
1 = on
2 = off !
(INT:1)
SUSPEND 111 none
TIMEOUT 106 num-retries (INT:1)
TRUNC 118 0 = off, 1 = on (INT:1)
WIDTH 119 device-
width
(INT:1)
Table 4-3. SPOOLERCOMMAND Parameters for Spoolcom DEV (page 2 of 2)
Spoolcom DEV
Subcommand
subcommand-code
(Fourth Parameter)
subcommand-parameter
(Fifth Parameter)