Control information in a job log
When working with problems, you might want to record the maximum
amount of information for jobs that have frequent problems. Alternatively,
you might not want to create a job log for jobs that completed normally. Or
you might want to exclude informational messages.
You can control what information is added to the job log by setting
the message level, message severity or the message text level values in the
job description. However, if you want to control what information is written
to the job log of a specific job, use the
Job Properties - Job
Log window in the iSeries™ Navigator.
This window allows
you to control the following:
- Whether the job log is produced and what method is used to produce it
- What to do when the maximum size is reached
- Whether to log commands from CL programs
- Whether to keep the messages in the job log and what specific messages
should be kept (logging level and message severity)
- Whether to create printer output for a job log if the job ends normally
and what to print
To access the Job Properties - Job Log window do the following:
- From iSeries Navigator
open the Job Properties window of the job and click the Job Log tab. .
- For a detailed explanation of the different options that are available
on this window, refer to the online help.
- Change the log level of a job
The log level of a job is a numeric level assigned to a specific
combination of message types that are logged. You can change the log level
in the job description by using the character-based interface. However, if
you want to change the log level of a specific job, use the Job
Properties - Job Log window in the iSeries Navigator.
- Control 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.