Spooler Plus Programmer's Guide
Spooler-Related Errors
Spooler Plus Programmer’s Guide—522293-003
C-11
Print Procedure Errors
Error codes returned by PRINTREAD that are not listed below are fatal errors. In 
such cases, terminate the job and send the error to the supervisor process.
Use a negative pagenum parameter in the call to PRINTREAD if you want 
PRINTREAD to return the number of the line where a WRITE[X] to a device failed.
When the spooler supervisor process receives a job-end message with an error 
other than 0 or %12000 (end of file), the supervisor process writes the error to its 
error log file and puts the job on hold.
The following spooler error codes are relevant to print procedures.
Cause. The operation was completed successfully.
Effect. None.
Recovery. None.
Cause. The data file has a file-system error.
Effect. The print procedure returns no data.
Recovery. Abort the print process. Refer to the information on file-system errors in 
the Guardian Procedure Errors and Messages Manual for corrective action for the 
error number indicated in bits <8:15>.
Cause. The print procedure encountered a file-system error while attempting to open 
the supervisor file.
Effect. There is a communications problem with the supervisor.
Recovery. The print procedure can either call ABEND, retry the operation a number of 
times, or continue reading and printing jobs without any further communication with the 
supervisor process. Refer to the information on file-system errors in the Guardian 
Procedure Errors and Messages Manual for corrective action for the error number 
indicated in bits <8:15>.
Cause. There was a file-system error on a spooler device.
Effect. The spooler ignores your request.
 0 (%0)
 1024-1279 (%2000-%2377)
 1536-1791 (%3000-%3377)
 2048-2303 (%4000 - %4377)










