NetBatch Manual

Job Planning, Submission, and Management
NetBatch Manual522460-004
4-22
Specifying a Job’s Output File, Maximum Print Lines
or Maximum Print Pages, and Log File
Specifying a Job’s Output File, Maximum Print Lines or
Maximum Print Pages, and Log File
The OUT attribute specifies a job’s output file, which collects data the job produces. If
the file is a spooler collector process, the MAXPRINTLINES and MAXPRINTPAGES
attributes specify the spooler job’s maximum print lines or maximum print pages. The
JOB-LOG job attribute directs log file events for a job to a specified file. For more
information about job output, see Dealing With Job Output on page 4-47.
Example
This example shows submission and execution of two jobs whose OUT attributes
specify spooler locations. The jobs’ MAXPRINTLINES and MAXPRINTPAGES
attributes specify the maximum lines and maximum pages for their spooler output.
> BATCHCOM $ZBAT; SUBMIT JOB Y, OUT $S.#MAXLINE,
MAXPRINTLINES 600, MAXPRINTPAGES NONE
Job Y job number 695 submitted
> BATCHCOM $ZBAT; SUBMIT JOB Z, OUT $S.#MAXPAGE,
MAXPRINTLINES NONE, MAXPRINTPAGES 10
Job Z job number 696 submitted
> BATCHCOM $ZBAT; INFO JOB *, OUT, MAXPRINTLINES,
MAXPRINTPAGES
OB ATTRIBUTES for Y
jobnumber: 695
out: $S.#MAXLINE
maxprintlines: 600
maxprintpages: None
JOB ATTRIBUTES for Z
jobnumber: 696
out: $S.#MAXPAGE
maxprintlines: None
maxprintpages: 10
> BATCHCOM $ZBAT; STATUS JOB *
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
695 Y 205,70 13 EXECUTING DEFAULT
696 Z 205,70 15 EXECUTING DEFAULT
34> SPOOLCOM
)JOB 13, STATUS DETAIL
JOB: 13
.
LOCATION: #MAXLINE
.
MAXIMUM LINES: 600
MAXIMUM PAGES:
)JOB 15, STATUS DETAIL
JOB: 15
.
LOCATION: #MAXPAGE
.
MAXIMUM LINES:
MAXIMUM PAGES: 10