Spooler Programmer's Guide
Spooler Procedure Calls
Spooler Programmer’s Guide—522287-002
4-17
PRINTSTART[2] Procedure
PRINTSTART[2] Procedure
The PRINTSTART procedure formats the job buffer for a spooler job being started.
The buffer is used in subsequent calls to PRINTREAD.
PRINTSTART[2] is the same procedure with a larger buffer.
error-code returned value
INT
returns one of the following spooler error codes:
job-buffer output
INT:ref:560
contains control information for the job being started in a form suitable for passing
to other print procedures.
print-control-buffer input
is the buffer obtained from PRINTCOMPLETE[2] or SPOOLEREQUEST[2] for
spooler jobs. For spooler job files, print-control-buffer must be passed but
previous buffer contents are ignored.
error-code := PRINTSTART[2] ( job-buffer ! o
,print-control-buffer ! i
,data-filenum ); ! i
0 Successful operation.
%2000-%2377 File error on data file (bits <8:15> contain a file-system error
number).
%3000-%3377 Supervisor file error (<8:15> contains a file error). This error
indicates a communication problem with the supervisor. A print
process receiving this error can call ABEND, retry the operation
a number of times, or continue reading and printing jobs without
any further communication with the supervisor.
%4000-%4377 Device error sent to the supervisor by the print process (bits
<8:15> contain a file-system error number).
%10001 Parameter is present, but its content is wrong.
INT:ref:64 (Use with PRINTSTART)
INT:ref:128 (Use with PRINTSTART2)