Job Control Language (JCL) Interview Questions

 
1.
What is JCL?
2.
What is the function of DD DISP parameter?
3.
How is the record format of an output dataset specified?
4.
What is the purpose of DD * statement in JCL?
5.
A DD statement has 2 types of parameters. Name them?
6.
What is the function of JOB statement in JCL?
7.
How can a job send a status message to a TSO user at the completion of a job?
8.
What is the function of a DD statement?
9.
When output dataset space is required, what quantity categories are used?
10.
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
11.
How can unused space allocation be returned to the system when a dataset is closed?
12.
Can an individual step be restricted from using all the jobs allowed CPU time?
13.
Where can program checkpoints be stored for use in a restart?
14.
How can the disposition of sysout datasets be set for an entire jobstream?
15.
What statement marks the end of an in-stream or Catalogued procedure?
16.
What is the function of DD name parameter with a 2 part structure; Audit.Report?
17.
Which DD parameters are required?
18.
How can an in-stream dataset be terminated?
19.
What is the function of the DD DCB keyword?
20.
What is the maximum length of a single line of JCL?
21.
What is the purpose of DD DUMMY statement?
22.
Many JCL statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
23.
When space is allocated for an output dataset, what units can be used?
24.
What is the format of comment statement?
25.
A DD statement consists of 4 fields. Name them?
26.
What DD statement is used to supply the name of a dataset?
27.
What is the purpose of the DD KEYLEN parameter?
28.
What is the function of the STEPLIB DD statement?
29.
How can return codes be tested before execution of a job step?
30.
What is concatenating?
31.
How can values be passed from the job stream to an executable program?
32.
Must tape dataset definitions include VOL=SER specifications?
33.
What is the function of //JCLLIB statement?
34.
What parameter of the job statement is used to limit the CPU time consumed by the job?
35.
What statement marks the beginning of an in-stream or cataloged procedure in JCL and assigns default values to parameters defined in the procedure?
36.
How can a stopped job be started again?
37.
In order to continue a job after a return code of 12 in step1, what the step2 EXEC statement include?
38.
In SMS datasets, what is the function of the DD MGMTCLAS keyword?
39.
How can the submitting users RACF authority be overridden in a job stream?
40.
What parameters can be used to limit the number of records written to a SYSOUT dataset?
41.
What statement can be used to send data to another MVS JES3 node?
42.
What parameter directs the output of the job log dataset?
43.
How can a jobs execution priority be modified?
44.
How can the attributes of one SMS dataset be copied to another dataset?
45.
What is the function of //CNTL statement?
46.
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
47.
In SMS datasets, what is the function of the DD AVGREC keyword?