NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-84
MAXPRINTPAGES Job Attribute
NONE
specifies no maximum.
Considerations
•
A job submitted without the MAXPRINTPAGES attribute adopts the DEFAULT-
MAXPRINTPAGES scheduler attribute. To display the value of this attribute, use
the INFO SCHEDULER command.
•
The scheduler passes the MAXPRINTLINES attribute to a job’s executor-program
process as a spool DEFINE named =_ZBAT_OUT if the job’s OUT attribute
specifies a spooler collector process.
•
The MAXPRINTPAGES attribute applies to the sum of the pages of a job’s log file
and the output of each process started by the job.
•
If the job log fills, the spooler logs error 45 (file is full) to the scheduler log but
continues processing the job.
•
If an NBEXEC or TACL process is the executor program and the process output
file is full, the scheduler stops the job. The scheduler also stops all processes
started by the job. Whether the job continues executing when the program is not
an NBEXEC or TACL process depends on how the process handles spooler error
45.
•
The MAXPRINTPAGES and MAXPRINTLINES attributes can conflict with each
other if each has a value other than NONE. (MAXPRINTPAGES overrides
MAXPRINTLINES if the number of pages specified by MAXPRINTPAGES converts
to fewer lines. For example, if a page equals 60 lines, MAXPRINTPAGES 25 (1500
lines) overrides MAXPRINTLINES 1200.) To avoid conflicting attributes, specify a
value for one of MAXPRINTPAGES and MAXPRINTLINES, and NONE for the
other.
•
For information on spooler jobs, see the manual for the spooler product you are
using.
Example
This example shows the submission of a job whose output file is a spooler location.
The example shows the sources of the job’s MAXPRINTLINES and
MAXPRINTPAGES attributes and the effect the attributes have on the output file.
> BATCHCOM $ZBAT; INFO SCHEDULER, DEFAULT-MAXPRINTLINES,
DEFAULT-MAXPRINTPAGES
SCHEDULER ATTRIBUTES
default-maxprintlines: None
default-maxprintpages: 25
> BATCHCOM $ZBAT; SUBMIT JOB PAGES, OUT $S.#PAGES,
MAXPRINTPAGES 50
Job PAGES job number 257 submitted
> BATCHCOM $ZBAT; INFO JOB PAGES, MAXPRINTLINES,