Spooler Plus Programmer's Guide

Spooler Procedure Calls
Spooler Plus Programmers Guide522293-003
4-30
SPOOLERCOMMAND Procedure
SPOOLERCOMMAND Procedure
The SPOOLERCOMMAND procedure is used to perform Spoolcom and Peruse
operations from within applications.
The SPOOLERCOMMAND procedure allows a process to send a Spoolcom command
to the spooler supervisor.
error-code returned value
INT
returns one of the following spooler error codes:
error-code := SPOOLERCOMMAND ( filenum-of-supervisor ! i
,command-code ! i
,[ command-parameter ] ! i
,subcommand-code ! i
,[ subcommand-parameter ] ); ! i
0 Successful operation
%3000-%3377 Error on file to supervisor (file-system error in bits <8:15>);
refer to the Guardian Procedure Errors and Messages
Manual
%10000 Parameter missing
%10001 Parameter in error
%14000 Invalid command
%14001 Command parameter missing
%14002 Command parameter in error
%14003 Invalid subcommand
%14004 Subcommand missing
%14005 Subcommand parameter in error
%14010 Cannot add entry to tables
%14011 Cannot find entry requested
%14012 Entry not in proper state for requested operation
%14013 Entry in use; cannot be deleted
%14014 Security violation
%14015 Process not a spooler supervisor