JCL MCQ Questions And Answers - Mainframe Development
JCL MCQs : This section focuses on "basics" of JCL. These Multiple Choice Questions (MCQ) should be practiced to improve the JCL skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. JCL stands for?
A. Job Code Language
B. Job Control Locale
C. Job Control Lock
D. Job Control Language
View Answer
Ans : D
Explanation: JCL stands for Job Control Language. JCL is a scripting language used on IBM mainframe operating system to instruct the system for the batch job.
2. In JCL, Condition checking is possible at?
A. job level
B. code level
C. Both A and B
D. None of the above
View Answer
Ans : C
Explanation: Condition checking is possible at both the job level and the code level.
3. Does JCL support automatic restart?
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: It is possible to have an automatic restart in JCL through the help of some predefined keyword parameter. The RDkeyword is one of those keywords that are used to restart. It generally succeeds in an irregular termination of the program.
4. The basic syntax of a JCL JOB statement is?
A. //Job-name JOB Positional-param
B. //Job-name JOB Positional-param, Keyword-param
C. //Job-name Positional-param, Keyword-param
D. //Job-name JOB, Keyword-param
View Answer
Ans : B
Explanation: The basic syntax of a JCL JOB statement is : //Job-name JOB Positional-param, Keyword-param
5. The statement, which contains the job step program information, is called the?
A. PROG
B. STEP
C. EXEC
D. REQ IN
View Answer
Ans : C
Explanation: The statement, which contains the job step program information, is called the EXEC statement.
6. Which statement help gives the dataset definition that is used in JCL?
A. DL
B. DA
C. DP
D. DD
View Answer
Ans : D
Explanation: DD statement help gives the dataset definition that is used in JCL. The required input and output resources for a job step needs to be described within a DD statement. These resources must be specified with information such as the dataset organization, storage requirements, and record length.
7. Which of JCL statements that are not allowed in procedures?
A. Null statements
B. DATA statements
C. JOBCAT DD statements
D. All of the above
View Answer
Ans : D
Explanation: All of the above JCL statements that are not allowed in procedures.
8. Which of the following statement is alternative for STEPLIB?
A. JOBLIB
B. INCLUDE
C. SEARCH
D. None of the above
View Answer
Ans : B
Explanation: Include statement : It is used as an alternative for STEPLIB. When we specify the dataset name in include statement, it will search in all the datasets defined in the included dataset.
9. The JCL execution system first checks for the symbol (//) at the beginning of JCL statements.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, The JCL execution system first checks for the symbol (//) at the beginning of JCL statements. It avoids runtime exceptions.
10. _____________ statement is used to identify the location of the program to be executed in a JCL.
A. STEPLIB
B. STEPLAB
C. JOBLIB
D. JOBLAB
View Answer
Ans : C
Explanation: JOBLIB statement is used to identify the location of the program to be executed in a JCL.
Discussion