IMSGLOG - Write Session Initialization Error Messages to the Message Log

#### Search Results

Search

# IMSGLOG - Write Session Initialization Error Messages to the Message Log

This profile parameter can be used to write specified initialization error messages to the message log instead of displaying it on the primary output device, i.e. the user terminal or the CMPRINT file under batch. `IMSGLOG` can be useful to avoid undesired error messages on the terminal or CMPRINT and to avoid the Natural termination message NAT9964 with condition code 4, which can influence the execution sequence of the batch job.

Possible settings | `1` - `9999` | A single or multiple initialization error message numbers separated by commas and enclosed in parentheses, for which the message shall be written to the message log.
`OFF` | No session initialization messages are written to the message log.
`ON` | All session initialization messages are written to the message log. The initialization error message screen is not displayed.
Default setting | `OFF` |
Dynamic specification | yes |
Specification within session | no |

Notes:

1. If `IMSGLOG` is specified multiple times for various initialization error message numbers, all these messages will be written to the message log.
2. If a message is suppressed by the setting of profile parameter `IMSG`, the value of `IMSGLOG` for this message is irrelevant.

#### Examples:

    IMSGLOG=ON

    IMSGLOG=1074

    IMSGLOG=(7048,7049,7058)