What is the difference between the NOTIFY and MSGLEVEL parameters

  • MSGLEVEL controls job logging level
  • MSGLEVEL specifies the message level
  • NOTIFY is used for job prioritization
  • NOTIFY notifies a user about job
NOTIFY parameter notifies a user about job completion, while MSGLEVEL controls the message logging level.

In the context of JCL, what does the term "step name" refer to when used in the EXEC statement?

  • Name of the dataset
  • Name of the job
  • Name of the job step
  • Name of the program
The "step name" refers to the name of the job step in the EXEC statement

Can you specify different dispositions for different conditions when de-allocating data sets in JCL?

  • No, disposition is a global parameter
  • No, disposition is uniform for all datasets
  • Yes, but only for specific dataset types
  • Yes, using conditional processing in JCL
Different dispositions can be specified for different conditions in JCL

Can the LRECL attribute be larger than the actual record length of a dataset in JCL? Why or why not?

  • No, it causes data corruption.
  • No, it must match the actual record length.
  • Yes, for better performance.
  • Yes, to accommodate future expansion.
LRECL should match the actual record length to avoid data issues.

Can the ELSE statement be used without an IF statement in JCL? Explain.

  • No, it must always follow an IF
  • No, it's not a standalone statement
  • Yes, it defines an alternative path
  • Yes, it indicates the end of a job
The ELSE statement must always follow an IF statement in JCL

Can you specify multiple abend code conditions for a single job step in JCL?

  • No, JCL allows only one abend code condition per job step.
  • No, multiple abend code conditions can only be specified at the job level.
  • Yes, by using the ABEND statement with multiple codes.
  • Yes, using the COND parameter with multiple abend code conditions.
The COND parameter in JCL allows specifying multiple abend code conditions for a single job step, providing flexibility in handling different error scenarios.

Can you use multiple EXIT statements in a single JCL job? If so, how?

  • No, only one EXIT statement allowed
  • Yes, by nesting them within IF-THEN-ELSE conditions
  • Yes, by specifying different codes
  • Yes, by using PROCs and INCLUDE statements
Only one EXIT statement is allowed in a JCL job

Can you have multiple PEND statements within a single JCL job? If so, what is the significance?

  • No, only one PEND allowed per JCL job
  • Yes, but it's not recommended
  • Yes, each PEND corresponds to a job step
  • Yes, for parallel execution of steps
No, only one PEND statement is allowed in a JCL job, marking the end of the entire job

In JCL, can you use the SET statement to modify system-defined variables?

  • No
  • Only in batch processing
  • Only in specific conditions
  • Yes
The SET statement in JCL is primarily used for user-defined variables, not system-defined variables

Which values can be specified for the COND parameter in JCL?

  • ONLY, EVEN
  • ONLY, EVEN, EXEC
  • ONLY, EVEN, ONLY, IF
  • ONLY, IF
Values such as 'ONLY', 'EVEN', or 'IF' can be specified for the COND parameter in JCL