When multiple data sets are concatenated, DISP=_______ indicates that the data set will not be modified.
- MOD
- NEW
- OLD
- SHR
DISP=SHR is used to indicate that the data set will not be modified when multiple data sets are concatenated.
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.
Explain a scenario where you would use the NOTIFY parameter in JCL and how it helps in job monitoring and notification.
- NOTIFY=(USER1, EMAIL1)
- NOTIFY=EMAIL1
- NOTIFY=NONE
- NOTIFY=USER1
The NOTIFY parameter in JCL is used to specify users or email addresses to be notified upon job completion. It helps in effective job monitoring and notification by alerting designated individuals or groups.
When using the IF statement in JCL, what conditions can be tested?
- Only character conditions
- Only numeric conditions
- Only positional parameters
- Return code, condition codes
The IF statement in JCL can test conditions based on return codes and condition codes.
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