Spooler Programmer's Guide
About This Manual
Spooler Programmer’s Guide—522287-002
x
How This Manual Is Organized
How This Manual Is Organized
Table i summarizes the contents of this manual.
Table i. Contents
Section or 
Appendix Title Contents
1
Introduction to the 
Spooler Subsystem
Provides detailed information on the Spooler 
subsystem and its components that is of special 
interest to programmers. All programmers 
should read this section before reading any of 
the other parts of this guide.
2
Using the Spooler 
Interface Procedures
Describes the use of the Spooler interface 
procedures. This section supplies examples of 
spooling on three levels, along with COBOL 
spooling and spooling from a NonStop process 
pair for most of these levels. The latter 
examples include discussion of zero and 
nonzero sync depth.
3
Using the Spooler 
Print Procedures, Print 
Processes, and 
Perusal Processes
Describes the use of the Spooler print 
procedures. Information on print processes 
includes reading the startup message, retrieving 
and printing the spooled data, and 
communicating with the spooler supervisor.
This section also discusses how to handle 
device errors and PRINTREAD errors, gives 
pointers on debugging print processes, and 
covers combining data retrieval with spooler 
communication.
This section also describes a user-written 
perusal process which can access spooled data 
without communicating with the spooler 
supervisor. 
4
Spooler Procedure 
Calls
Presents the complete syntax and 
considerations for all Spooler-related 
procedures. The SPOOLERSTATUS Struts are 
of particular interest to application programmers 
for use in finding the status of Spooler 
components.
A
Sample Print Process
Presents a sample print process.
B
Sample Perusal 
Process
Presents a sample perusal process.
C
Spooler-Related 
Errors
Describes errors codes returned by the Spooler 
interface and by the print and utility procedures.










