1.

Explain Msglevel parameter and its significance.

Answer»

With the Msglevel parameter, you can control or set the listing of the JOB output for each specific job. It controls the way ALLOCATION messages, and termination messages will appear in job output (SYSOUT). Msglevel can be used to inform JCL about the messages we wish to print.

Syntax: 

MSGLEVEL=([STATEMENTS][messages])

Here, 

  • Statements can be numbered 0, 1, or 2. (0 to print Job-related statements, 1 to print all JCL statements along with procedures, and 2 to print only input JCL statements)
  • Messages can be numbered 0 or 1. (0 to not show any message except RETURN code i.e., allocation and termination, and 1 to show all messages, i.e., whether it is an allocation or termination, all details will be visible in the spool).


Discussion

No Comment Found