Spooler Programmer's Guide

Spooler-Related Errors
Spooler Programmer’s Guide522287-002
C-13
Print Procedure Errors
Recovery. A print procedure can choose to either print a header or do a top-of-form
when an end-of-copy indication is returned.
Cause. A print procedure encountered an invalid data file. The data file from which
PRINTREAD is attempting to read data does not contain the correct job.
A perusal process can receive this error from the PRINTREAD procedure if the job it is
reading is deleted during the read.
Effect. There is no effect. PRINTREAD did not return data.
Recovery. If a print procedure receives this error, it should terminate the job and send
the error to the supervisor using the PRINTSTATUS procedure.
If a perusal process receives this error, refer to the Guardian Procedure Calls
Reference Manual for information about the SPOOLEREQUEST procedure.
Cause. The data line contained a file-system CONTROL operation.
Effect. If this error code is returned by the PRINTREAD procedure, the data line
contains a file-system CONTROL message for the print device. The format of the
CONTROL message is
data-line [0] = operation
data-line [1] = parameter
Recovery. The print procedure should pass the CONTROL message to the device by
way of the file-system CONTROL procedure. The CONTROL procedure is
documented in the Guardian Procedure Calls Reference Manual.
Cause. The data line contained a file-system SETMODE operation.
Effect. If this error code is returned by the PRINTREAD procedure, the data line
contains a file-system SETMODE instruction. The SETMODE instruction format is
data-line [0] = SETMODE function
data-line [1] = param-1
data-line [2] = param-2
Recovery. The print procedure should issue a SETMODE operation to the device.
You can find the syntax for the SETMODE procedure in the Guardian Procedure Calls
Reference Manual.
5122 (%12002)
5123 (%12003)
5124 (%12004)