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 does JCL stands for?
JCL stands for Job Control Language which provides the specifications necessary to process a job.
Q 2 - In Job processing, what happens in Hard copy stage?
In hard copy stage, output of job is moved to spool output.
Q 3 - What is the purpose of coding REGION parameter in job statement?
Region parameter specifies the address space required to run a job step within the job. Syntax : REGION=nK | nM
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 - What is use of DSN parameter in DD statement?
The DSN parameter refers to the physical dataset name of a newly created or existing dataset. The DSN value can be made up of sub-names each of 1 to 8 characters length, separated by periods and of total length of 44 characters (alphanumeric).
Q 6 - Which utility is used to create, delete, rename, catalog, uncatalog datasets (other than PDS) and usually used to manage VSAM datasets?
IDCAMS is used to create, delete, rename, catalog, uncatalog datasets (other than PDS) and usually used to manage VSAM datasets.
Q 7 - FORCE option in GDG's deletes the GDG versions and the GDG base. If any of the GDG versions are set with an expiration date which is yet to expire, then those are not deleted and hence the GDG base is retained. State whether true or false?
This is self explanatory.
Q 8 - What is the output of following JCL?
//STEP1 EXEC PGM = SORT //SYSOUT DD SYSOUT = * //SORTIN DD DSN = input.file.name //SORTOUT DD DSN = output.file.name //SYSIN DD * SORT FIELDS = COPY INCLUDE=(1,6,CH,EQ,C'TUTORI') /*
It is used to include rows based on the condition that the first 6 characters should start from TUTORI and will ignore the rest.
PROC is used for declaring a procedure.
Q 10 - What units are used for allocation of output dataset?
In mainframes, we use cylinders, tracks and blocks for allocation of datasets.