Following quiz provides Multiple Choice Questions (MCQs) related to JCL Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - What are the various stages of Job processing?
Correct answer is C. Job is processed in this manner.
Q 2 - What operation is performed by DD statement?
DD statement is used to include name of the dataset to operate.
Q 3 - How much time Step2 will have for execution, if Step1 will take 2.5 minutes?
//TXXXXXX JOB (XXXXX), ’XXXX’, TIME = 4 //STEP1 EXEC PGM = PR1, TIME = 4 //STEP2 EXEC PGM = PR2, TIME = 0
The job TIME limit takes precedence over the step time limit. Step2 will have 1.5 minutes for execution. If it goes beyond that, this job will abend.
Q 4 - A JOBLIB statement is used in order to identify the location of the program to be executed in a JCL. The JOBLIB statement is specified after the JOB statement and before the EXEC statement. This can be used only for the in stream procedures and programs. State whether true or false?
This statement is correct.
Q 5 - Which parameter is used to check the syntax of a JCL without executing it?
TYPRUN = SCAN checks the syntax errors of the JCL without executing it.
SORT utility is used to sort a file in a particular order based on the sort card.
Q 7 - In-stream procedure is coded within the same JCL member, it is called an Instream Procedure. It should start with a PROC statement and end with a PEND statement. State whether true or false?
This is self explanatory.
Q 8 - What sort card you will use to copy the data from one dataset to another dataset?
In the SORT step mention the SYSIN & SYSOUT dataset name & in sort card code SORT FIELDS=COPY to copy data from input file to output file.
We use & for symbolic parameters.
Q 10 - What units are used for allocation of output dataset?
In mainframes, we use cylinders, tracks and blocks for allocation of datasets.