Spooler Programmer's Guide

Spooler-Related Errors
Spooler Programmer’s Guide522287-002
C-3
File-System Errors
Effect. The HP NonStop Kernel operating system returns a -1 as the file number on a
failed open.
Recovery. Correct your program to verify that the collector has been opened
successfully.
File-System Errors
The following file-system error codes have special significance to a process sending
data to a collector. An application spooling at level 1 or 2 gets these errors from the
write or the open procedure, while an application spooling at level 3 obtains these
errors in bits <8:15> of a spooler error code in the range %1000 through %1377.
Cause. The operation completed successfully.
Effect. None.
Recovery. None.
Cause. The collector received an invalid message. For example, SPOOLSTART was
called for a job that is already open, SPOOLEND was called for a job that is not open,
or the file-system WRITE[X] procedure was called for a job being spooled at level 3.
Effect. The collector ignores the invalid message.
Recovery. Correct the error in your program.
Cause. Illegal parameters were specified in a call to CHECKOPEN.
Effect. The spooler ignores requests from the backup process.
Recovery. Correct your call to the CHECKOPEN procedure for the collector file.
Cause. A data line written to the spooler was too long.
Effect. The write is not performed.
Recovery. Decrease the byte count and reenter the command.
0 (%0) OPERATION SUCCESSFUL
2 (%2) OPERATION NOT ALLOWED ON THIS TYPE FILE
17 (%21) ATTEMPTED CHECKOPEN, PARAMETERS DO NOT
MATCH PRIMARY OPEN
21 (%25) ILLEGAL COUNT SPECIFIED