Controling batch job log information

 

For your batch applications, you may want to change the amount of information logged. The log level (LOG(40 *NOLIST)) specified in the job description for the IBM-supplied subsystem QBATCH supplies a complete log if the job abnormally ends. If the job completes normally, no job log is produced.

Controlling job logs at the job queue level (QBATCH) is done by adjusting the job log settings for the QBATCH subsystem job. You have the same options for controlling how job logs are produced at the subsystem job level as you do at the individual job level. To adjust the job log settings for the job queue subsystem, do the following:

In iSeries™ Navigator open the Subsystem Properties - Job Log window for the job queue subsystem. (Work Management > Subsystems > Active Subsystems > QBATCH > Right-click the QBATCH job > Properties > Job Log tab)

If you uncheck the Produce a job log field field (*PND) for the subsystem, the job log specific to the subsystem will not be listed with the other printer output. You will then need to use the Display Job Log (DSPJOBLOG) command to view the pending job log.

If the batch job is running a CL program, the CL program commands are logged only if the LOGCLPGM(*YES) is specified on the Create Control Language Program (CRTCLPGM) command or the Change Program (CHGPGM) command.

 

Parent topic:

Controlling information in a job log

Related concepts
Job logs