Details: Control the content of the job log using the message level value

The message level value controls the type and number of messages that the system writes to a job log.

The message level can be one of the following levels:

0
No data is logged.
1
The messages that are logged are only those that are sent to the external message queue for the job with a severity greater than or equal to the specified message severity.
2
Logs all level 1 messages, and the following information:
  • Any requests that result in a high-level message with a severity level that exceeds or equals the message severity specified.
  • If a request is logged, all of its associated messages are also logged.
3
The same as level 2, and the following information:
  • All requests.
  • Commands that are run by a CL program if allowed by the log CL program command's job attribute and the log attribute of the CL program.
4
The following information is logged:
  • All requests or commands that are logged from a CL program.
  • All messages with a severity at least equal to the specified severity. This includes trace messages.
  • Commands that are run by a CL program if allowed by the log CL program command's job attribute and the log attribute of the CL program.
Note: A high-level message is one that is sent to the program message queue of the program that receives the request. For example, QCMD is an IBM-supplied request processing program that receives requests.