Spooler Programmer's Guide
Spooler Procedure Calls
Spooler Programmer’s Guide—522287-002
4-41
Example
Commands not accompanied by subcommands should have code 100 as their
subcommand-code (for example, creating a component with all default
parameters).
You must put a batch on hold by using the Spoolcom JOB HOLD command before
attempting to use the Spoolcom BATCH LINK and UNLINK subcommands.
Error %14017 is returned if an attempt is made to delete a job associated with a
font.
Error %14020 is returned from a Spoolcom JOB command when the command
cannot be done on a portion of a spooler batch job.
When a Spoolcom BATCH command returns an error code in the range %14021
through %14023, it indicates a problem with the LINK or UNLINK operation. For
more information on spooler-related errors, see Appendix C, Spooler-Related
Errors.
Example
COM^ERROR := SPOOLERCOMMAND ( FILENUM
, COM^CODE
, ! command parameter
, SUB^CODE );