Interview Questions and Answers
Experienced / Expert level questions & answers
Ques 1. What is a symbolic parameter in JCL?
A symbolic parameter in JCL is a placeholder used to represent a value that will be substituted at runtime. It is defined using a symbolic parameter or symbol.
Example:
//SYSIN DD *,VAR1=VALUE
DELETE DATASET('&VAR1')
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 2. How can you specify multiple conditions for the COND parameter in JCL?
Multiple conditions for the COND parameter can be specified using logical operators such as AND, OR, and NOT.
Example:
//STEP2 EXEC PGM=ABC,COND=((4,LT),(2,EQ,3))
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 3. How do you override a cataloged procedure in JCL?
To override a cataloged procedure, you can use the PROC parameter in the EXEC statement, providing the necessary parameter values.
Example:
//STEP1 EXEC PROC=MYPROC,REGION=2M
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 4. What is the meaning of the COND parameter value 'EVEN' in JCL?
The COND parameter value 'EVEN' is used to conditionally execute a job step only if the return code of the previous step is an even number.
Example:
//STEP3 EXEC PGM=DEF,COND=(EVEN)
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 5. Explain the function of the SPACE parameter in JCL.
The SPACE parameter is used to specify the amount of space allocated for a dataset. It includes primary, secondary, and directory space values.
Example:
//OUTPUT DD DSN=OUT.FILE,SPACE=(CYL,(10,5),RLSE)
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Most helpful rated by users: