Spooler Programmer's Guide
Spooler Procedure Calls
Spooler Programmer’s Guide—522287-002
4-62
SPOOLSETMODE Procedure
SPOOLSETMODE Procedure
The SPOOLSETMODE procedure is used to set device-dependent functions when an
application process is using the spooler interface procedures.
This procedure must be used in place of the SETMODE procedure if a level-3 buffer is
specified in a call to SPOOLSTART.
error-code returned value
INT
returns one of the following spooler error codes:
level-3-buff input, output
INT:ref:512
is the level-3-buff specified in the call to SPOOLSTART.
function input
INT:value
is a SETMODE function (see the Guardian Procedure Calls Reference Manual).
param1 input
INT:value
is a parameter for the specified SETMODE function (see the Guardian Procedure
Calls Reference Manual).
param2 input
INT:value
error-code := SPOOLSETMODE ( level-3-buff ! i,o
,function ! i
,[ param1 ] ! i
,[ param2 ] ! i
,[ bytes-written-to-buff ] ) ! o
,[ extended-level-3-buff ] ); ! i,o
0 Successful operation
%1000-%1377 Error on file to collector (bits <8:15> contain a file-system error
number; see Considerations on page 4-63)
%11000 Checkpoint exit
%11001 Attempted to write to the collector without first opening the file