Message log

Workload Automation Programming Language produces a message log, with different levels of detail, according to the OPTIONS MSGLEVEL setting.

If a DD statement called EQQYLOG is specified in the JCL, Workload Automation Programming Language messages are directed there, with a default MSGLEVEL of 0. If a numeric suffix is added to the EQQYLOG, this determines the MSGLEVEL setting, if a number greater than 5 is used the MSGLEVEL are set to 5. For example, //EQQYLOG1 DD SYSOUT=* diverts all Workload Automation Programming Language messages to this DD statement with a MSGLEVEL of 1.

EQQYLOG* DD statements that define data sets not valid for output are ignored. If more than one valid variant of EQQYLOG* is specified, the last encountered in the JCL is used, allowing an EQQYLOG* DD statement to be coded in the EQQYXJPX and EQQYXJPL procedures, but still be overridden in the executing JCL, even if using a different MSGLEVEL suffix.

DUMMY DD statements are ignored. If no valid EQQYLOG* data sets are found in the JCL, SYSTSPRT is used. If writing to an EQQYLOG* data set fails, SYSTSPRT is used for the remainder of messages.

Output from the DISPLAY command is always directed to SYSTSPRT.