0% found this document useful (0 votes)
2K views

JCL Quiz

This document contains 95 questions and answers about JCL and ISPF. It covers topics like dummy utilities used in JCL, overriding DD statements, continuing jobs after return codes, TIME parameters, unused space allocation, return code testing, JCLLIB statements, ending in-stream procedures, STEPLIB statements, system data set catalogs, JOB statement functions, limiting SYSOUT records, ADD statement parameters, overriding user authority, JCL parameters, DD DISP parameters, JOBLIB vs STEPLIB precedence, referencing generation datasets, restricting step CPU time, required DD parameters, DCB keywords, JCL statement record sizes, job execution stages, step time limits, and using JCLLIB with in-stream and cataloged

Uploaded by

Shankar Rauniyar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

JCL Quiz

This document contains 95 questions and answers about JCL and ISPF. It covers topics like dummy utilities used in JCL, overriding DD statements, continuing jobs after return codes, TIME parameters, unused space allocation, return code testing, JCLLIB statements, ending in-stream procedures, STEPLIB statements, system data set catalogs, JOB statement functions, limiting SYSOUT records, ADD statement parameters, overriding user authority, JCL parameters, DD DISP parameters, JOBLIB vs STEPLIB precedence, referencing generation datasets, restricting step CPU time, required DD parameters, DCB keywords, JCL statement record sizes, job execution stages, step time limits, and using JCLLIB with in-stream and cataloged

Uploaded by

Shankar Rauniyar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 41

***********************************************************************************

**********************
JCL AND ISPF QUIZ
***********************************************************************************
**********************
71. Which utility is used a dummy utility?

A. IEBGENER
B. IEBCOPY
C. IEBCOMPR
D. IEFBR14

Correct Answer: D. IEFBR14


-----------------------------------------------------------------------------------
----------------------
72. What is the function of DD name parameter with a 2 part structure;
Audit.Report?

A. Override the Audit DD statement in the report


B. Override the Report DD statement in the Audit procedure
C. Concatenate a dataset onto a DD statement in a called module
D. Delete the Audit DD statement in the Report

Answer: Option B. Override the Report DD statement in the Audit procedure


-----------------------------------------------------------------------------------
----------------------

73. In order to continue a job after a return code of 12 in step1, what the step2
EXEC statement include?

A. Continue
B. Cond = (12,NE)
C. Cond = (12,GE)
D. Cond = (12,EQ)

Answer: Cond = (12,NE)


-----------------------------------------------------------------------------------
----------------------

74. What will be the TIME parameter value, if you want it to run the job within
7min 30 sec?

A. Time(07,30)
B. Time(00,07,30)
C. Time(07:30)
D. Time(30:7)

Answer: Option A
-----------------------------------------------------------------------------------
----------------------

75. How can unused space allocation be returned to the system when a dataset is
closed?

A. Return
B. Rlse
C. Contig
D. Close
Answer: Rlse
-----------------------------------------------------------------------------------
----------------------

76. How can return codes be tested before execution of a job step?

A. Through the RC keyword


B. Through the CODE keyword
C. Through the COND keyword
D. Through the RETURNCD keyword

Answer: Through the COND keyword


-----------------------------------------------------------------------------------
----------------------

77. What is the function of //JCLLIB statement?

A. Identifies the source of the JCL commands


B. Points to the system software library
C. Marks the beginning of the in-stream JCL
D. Identifies the libraries that the system will search for include groups or
procedures named in
EXEC statements

Answer: Option D. Identifies the libraries that the system will search for include
groups or procedures named in
EXEC statements
-----------------------------------------------

78. What statement marks the end of an in-stream or Catalogued procedure?

A. Stream
B. Set
C. Proc
D. Pend

Answer: Option D. Pend


-----------------------------------------------------------------------------------
----------------------

79. What is the function of the STEPLIB DD statement?

A. Identify a library to be searched for programs named in the EXEC statement


B. Identify a library containing executable job steps
C. Override the system step library within a job stream
D. All of the above

Answer: Option D. All of the Above


-----------------------------------------------------------------------------------
----------------------

80. What is a system data set catalog?

A. a reference to the naming standards for datasets


B. a list of MVS reference libraries
C. a list of datasets available to MVS along with the location data
D. the original installation datasets for JCL

Answer: Option c. A list of datasets available to MVS along with the location data
-----------------------------------------------------------------------------------
----------------------

81. What is the function of JOB statement in JCL?

A. Marks the end of a job


B. Marks the beginning of an instream procedure
C. Marks the beginning of a job & assigns a name to the job
D. Assigns an execution priority to a job

Answer: C. Marks the beginning of a job & assigns a name to the job
-----------------------------------------------------------------------------------
----------------------

82. What parameters can be used to limit the number of records written to a SYSOUT
dataset?

A. Limit
B. Outlim
C. Size
D. Max

Answer: OutLim
-----------------------------------------------------------------------------------
----------------------

83. ADD statement has 2 types of parameters. Name them?

A. Positional, Keyword
B. Keyword, Control
C. Dynamic, Static
D. Named, Dynamic

Answer: A.Positional, Keyword


-----------------------------------------------------------------------------------
----------------------

84. How can the submitting user’s RACF authority be overridden in a job stream?

A. Through the User Parameter


B. Through the User and Password parameter
C. By notifying the console operation to override the authority
D. Through the Racf parameter

Answer: b. Through th User and Password Parameter


-----------------------------------------------------------------------------------
----------------------

85. Many JCL statements contain specific values designed to direct and control the
execution of the statement.
What are these fields called?

A. Linkage Variables
B. Parameters
C. Control Libraries
D. Includes

Answer: Option B- Parameters


-----------------------------------------------------------------------------------
----------------------

86. What is the function of DD DISP parameter?

A. Tells the system what to do with the dataset following normal termination of
the step
B. Describes the status of the dataset
C. Tells the system what to do with the dataset following abnormal termination
of the step
D. All of the above

Answer: Option D- All of the Above


-----------------------------------------------------------------------------------
----------------------

87. If both the JOBLIB and STEPLIB statements are coded, which specification will
the JCL choose to
perform the step

A. JOBLIB Overriding STEPLIB step will be performed


B. None of Them
C. Question is false
D. All the above

Answer: Option A - JOBLIB Overriding STEPLIB step will be performed


-----------------------------------------------------------------------------------
----------------------

88. 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?

A. As the (0) generation


B. As the (+1) generation
C. As the (-1) generation
D. Without the generation number

Answer: Option B - As the (+1) generation


-----------------------------------------------------------------------------------
----------------------

89. Can an individual step be restricted from using all the jobs allowed CPU time?

A. Yes
B. No
C. Only in Catalogued Procedure
D. Through the Step Time parameter

Answer: Yes
-----------------------------------------------------------------------------------
----------------------

90. Which DD parameters are required?

A. All parameters & Keywords are optional


B. Dsname, SPACE, RECFM
C. Dsname, SPACE, UNIT
D. Dsname, DISP, SPACE

Answer: All parameters & Keywords are optional


-----------------------------------------------------------------------------------
----------------------

91. What is the function of the DD DCB keyword?

A. Begins the subparameters of the DCB


B. Begins the DASD control block
C. Marks the close of the DCB
D. Modifies the record type parameters

Answer: Begins the subparameters of the DCB


-----------------------------------------------------------------------------------
----------------------

92. On how many byte records JCL statements are coded?

A - 16

B - 44

C - 80

D - 32

Answer : C 80

Explanation
JCL statements are coded on 80 bytes records.
-----------------------------------------------------------------------------------
----------------------

93. In Job processing, what happens in Execution stage?

A - Selection of Initiator for execution of Job

B - Job statement is converted into an interpreted text to be understood by JES and


stored into a dataset,
which we call as SPOOL

C - Job is taken as an input to JES

D - Allocated resources and the JES SPOOL space is released

Answer : A- Selection of Initiator for execution of Job

Explanation
When the job reaches its highest priority, it is taken up for execution from the
job queue.
The JCL is read from the SPOOL, the program is executed and the output is
redirected to the
corresponding output destination as specified in the JCL.
-----------------------------------------------------------------------------------
----------------------

94. 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
A - 4

B - 0

C - 1.5

D - 2.5

Answer : C - 1.5

Explanation
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.
-----------------------------------------------------------------------------------
----------------------

95. A JCLLIB statement is used to identify the private libraries used in the job.
It can be used both with instream and cataloged procedures. State whether
true or false?

A - True

B - False

Answer : A. TRUE
-----------------------------------------------------------------------------------
----------------------

Q96. What is use of DSN parameter in DD statement?

A - Space required for the dataset

B - Physical characteristics of a dataset

C - Disposition of dataset

D - Physical Dataset Name

Answer : D - Physical Dataset Name

Explanation
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).
-----------------------------------------------------------------------------------
----------------------

Q97. How the file will be sorted if you will use the following sort card?

//STEP1 EXEC PGM = SORT


//SYSPRINT DD SYSOUT = *
//SYSOUT DD SYSOUT = *
//SORTIN DD DSN = input.data.set,DISP=SHR
//SORTOUT DD DSN=output.data.set
//SYSIN DD *
SORT FIELDS = (1,06,CH,D)
/*

A - SORT FIELDS = (1,06,CH,D) instructs the utility to sort the file based on the
CHARACTER field that
starts from POSITION 1 and of LENGTH 6 in DESENDING order

B - SORT FIELDS = (1,06,CH,D) instructs the utility to sort the file based on the
CHARACTER field that
starts from POSITION 6 and of LENGTH 1 in ASCENDING order

C - SORT FIELDS = (1,06,CH,D) instructs the utility to sort the file based on the
CHARACTER field that
starts from POSITION 6 and of LENGTH 1 in DESENDING order

D - SORT FIELDS = (1,06,CH,D) instructs the utility to sort the file based on the
CHARACTER field that
starts from POSITION 1 and of LENGTH 6 in ASCENDING order

Answer : A
-----------------------------------------------------------------------------------
----------------------

Q98. Generation Data Groups (GDGs) are group of datasets related to each other by a
common name.
The common name is referred as GDG base and each dataset associated with the
base is called a GDG version.
State whether true or false?

A - False

B - True

Answer : B TRUE
-----------------------------------------------------------------------------------
----------------------

Q99. What sort card you will use to copy the data from one dataset to another
dataset?

A - SORT FIELDS=COPY

B - SORT FIELDS=MOVE

C - SORT FIELDS=COPY(ALL)

D - SORT FIELDS=MOVE(ALL)

Answer : A - SORT FIELDS=COPY

Explanation
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.
-----------------------------------------------------------------------------------
----------------------

Q100. Which method you will use to skip a particular step in JCL?
A - SKIP

B - COND

C - ASKIP

D - None

Answer : B - COND

Explanation
You can use COND with the step. If condition is true step will be bypassed.
-----------------------------------------------------------------------------------
----------------------

Q101. What units are used for allocation of output dataset?

A - KB

B - Bytes

C - Cylinders, Tracks & Blocks

D - MB

Answer : C - Cylinders, Tracks & Blocks

Explanation
In mainframes, we use cylinders, tracks and blocks for allocation of
datasets.
-----------------------------------------------------------------------------------
----------------------

Q102. What operation is performed by DD statement?

A - Job Identification

B - Instruction for Execution

C - Includes name of the dataset to operate

D - None of these

Answer : C - Includes name of the dataset to operate

Explanation
DD statement is used to include name of the dataset to operate.
-----------------------------------------------------------------------------------
----------------------

Q103. Which parameter is use to declare the name of dataset in DD statement?

A - DS

B - NAME

C - DSN

D - MARK
Answer : C- DSN

Explanation
DSN is used to declare the name of dataset in a DD statement.
-----------------------------------------------------------------------------------
----------------------

Q104. What will happen to Step2 if Step1 executes with RC=0?

//TXXXXXX JOB (XXXXX), ’XXXX’


//STEP1 EXEC PGM = PR1
//STEP2 EXEC PGM = PR2, COND = ONLY

A - Step2 will be bypassed

B - Step2 will be executed

C - None of these

Answer : A- Step2 will be bypassed

Explanation
Step2 will be bypassed as we have coded ONLY, which means Step will be
executed only if the
previous steps abend.
-----------------------------------------------------------------------------------
----------------------

Q105. Where & how do you code Identifier in JCL?

A - /* starting from column 1

B - / starting from column 1

C - // starting from column 1

D - None of these

Answer : C - // starting from column 1

Explanation
Identifiers are two slashes (//) starting from column number 1. All JCL
statements starts with
identifiers except for two exceptions - For a delimiter statement, /*
starting in col 1 and
for a comment statement , //* starting at col 1.
-----------------------------------------------------------------------------------
----------------------

Q106. Which parameter is used to pass information from JCL to a COBOL program?

A - ONLY

B - COND

C - REGION

D - PARM
Answer : D- PARM

Explanation
PARM is used to pass the values from JCL to COBOL program.
-----------------------------------------------------------------------------------
----------------------

Q107. Which parameters we use in a JOB statement?

A - Positional

B - Keyword

C - In-Stream

D - Both A & B

Answer : D - Both A & B

Explanation
We use positional and keyword parameters in a job statement.
-----------------------------------------------------------------------------------
----------------------

Q108. 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

A - 4

B - 0

C - 1.5

D - 2.5

Answer : C - 1.5

Explanation
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.
-----------------------------------------------------------------------------------
----------------------

Q109. What will happen to Step2 if Step1 executes with RC=0?

//TXXXXXX JOB (XXXXX), ’XXXX’


//STEP1 EXEC PGM = PR1
//STEP2 EXEC PGM = PR2, COND = (4, LE, STEP1)

A - Step2 will be bypassed

B - Step2 will be executed

C - None of these
Answer : B- Step2 will be executed

Explanation
It will read the condition on step2 as 4 Less than 0, which is false, so step
will be executed.
If condition is true then only the step will be bypassed.
-----------------------------------------------------------------------------------
----------------------

Q110. What will be the output of following JCL which is calling a catalog
procedure?

//TXXXXXJ JOB ,, NOTIFY = &SYSUID, CLASS = A, MSGCLASS = X


// JCLLIB ORDER=XXXXX.PROC.LIBRARY
//DATA1 EXEC PROC = PROC1, TIME = 3

A - TIME parameter inside PROC1 will not be overridden

B - TIME parameter coded in PROCEDURE PROC1 will be replaced with TIME parameter
overridden in the JCL i.e TIME = 3

C - It will give abend

D - None of these

Answer : B - - TIME parameter coded in PROCEDURE PROC1 will be replaced with TIME
parameter overridden in the JCL
i.e TIME = 3

Explanation
We are overriding the TIME parameter inside PROC1.
-----------------------------------------------------------------------------------
----------------------

Q111.When the procedure is separated out from the JCL and coded in a different data
store,
it is called a Cataloged Procedure. A PROC statement is not mandatory to be
coded in a cataloged procedure.
State whether true or false?

A - True

B - False

Answer : A - True

Explanation
This statement is correct.
-----------------------------------------------------------------------------------
----------------------

Q112. What statements are invalid in a procedure?

A - JOB statement

B - Delimiter statement

C - Null statement
D - All of these

Answer : D - - All of these

Explanation
A procedure must not contain following statements : JOB statement, JOBLIB DD
statement, DD * ,
DD DATA - In-stream data, delimiter statement, Null statement, JES
statements,
PEND statement (for cataloged procedures)
-----------------------------------------------------------------------------------
----------------------

Q113. How you will concatenate the dataset in JCL?

A - Code the DD statements continuously & give DDNAME only for first DD

B - Code the DD statements continuously & give the same DDNAME for all DD
statements

C - Both A & B

D - None of these

Answer : A - Code the DD statements continuously & give DDNAME only for first DD

Explanation
To concatenate the dataset in JCL, code the DD statements continuously & give
DDNAME only for first DD
like shown below:
//NAME1 DD DSN=file.name1,DISP=SHR
// DD DSN=file.name2,DISP=SHR
// DD DSN=file.name3,DISP=SHR

-----------------------------------------------------------------------------------
----------------------

Q114. What does JCL stands for?

A - Job Cobol Language

B - Job Communication Language

C - Job Control Language

D - None of these

Answer : C - Job Control Language

Explanation
JCL stands for Job Control Language which provides the specifications
necessary to process a job.
-----------------------------------------------------------------------------------
----------------------

Q115. Which statement is coded in the starting of a procedure?

A - PEND
B - PROC

C - SET

D - STARTAnswer : B - PROC

Explanation
PROC is used for declaring a procedure.
-----------------------------------------------------------------------------------
----------------------

Q116. Which utility is use to compile a COBOL program?

A - IKJEFT02

B - IKJEFT01

C - IGYCRCTL

D - None of these

Answer : C - IGYCRCTL
Explanation
We use IGYCRCTL utility to compile a COBOL program.
-----------------------------------------------------------------------------------
----------------------

Q117. What operation is performed by EXEC statement?

A - Job Identification

B - Execution of program

C - Includes name of the dataset to operate

D - None of these

Answer : B - Execution of program

Explanation
Specifies the PROC/Program to be executed. In the above example, a SORT
program is being executed
(i.e., sorting the input data in a particular order).
-----------------------------------------------------------------------------------
----------------------

Q118. If COND parameter is coded on both JOB and EXEC statement, then the condition
on JOB is
checked before checking the condition on EXEC statement. State whether true
or false?

A - True

B - False

Answer : A - True
Explanation
This statement is correct.
-----------------------------------------------------------------------------------
----------------------

Q119. How to mark the end of in-stream data?

A - END

B - //*

C - /*

D - PEND

Answer : C- /*

Explanation
/* is used to mark the end of in-stream data.
-----------------------------------------------------------------------------------
----------------------

Q120. Which parameter is used to check the syntax of a JCL without executing it?

A - CLASS=0

B - PRTY=N

C - TYPRUN = HOLD

D - TYPRUN=SCAN

Answer : D - TYPRUN=SCAN

Explanation
TYPRUN = SCAN checks the syntax errors of the JCL without executing it.
-----------------------------------------------------------------------------------
----------------------

Q121.What is use of SPACE parameter in DD statement?

A - Space required for the dataset

B - Physical characteristics of a dataset

C - Disposition of dataset

D - Physical Dataset Name

Answer : A - Space required for the dataset

Explanation
The SPACE parameter specifies the space required for the dataset in the DASD
(Direct Access Storage Disk).
Syntax : SPACE=(spcunits, (pri, sec, dir), RLSE)
-----------------------------------------------------------------------------------
----------------------

Q122. What does MVS stand for?


A - Multiple Virtual System

B - Main Virtual Storage

C - Multiple Virtual Storage

D - Main Virtual System

Answer : C - Multiple Virtual Storage

Explanation
MVS stands for Multiple Virtual storage which is the operating system for the
IBM mainframe systems.
-----------------------------------------------------------------------------------
----------------------

Q123. Calling a procedure from within a procedure is called a nested procedure.


Procedures can be nested up
to 15 levels. The nesting can be completely in-stream or cataloged. We
cannot code an in-stream
procedure within a cataloged procedure. State whether true or false?

A - True
B - False
-----------------------------------------------------------------------------------
----------------------B - False

Answer : A - True

Explanation
This statement is correct.
-----------------------------------------------------------------------------------
----------------------

Q124. How do we pass values to a program through JCL?

A - In-stream data

B - PARM

C - Both A & B

D - Not possible

Answer : C - Both A & B

Explanation
We can pass data to a program either by in-stream data (DD *) or by using
PARM parameter.
-----------------------------------------------------------------------------------
----------------------

Q125. What is use of DSN parameter in DD statement?

A - Space required for the dataset

B - Physical characteristics of a dataset


C - Disposition of dataset

D - Physical Dataset Name

Answer : D - Physical Dataset Name

Explanation
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).
-----------------------------------------------------------------------------------
----------------------

Q126. What does JES stands for?

A - Job Entry Schedule

B - Job Entry Sub-system

C - Job Entry System

D - None of these

Answer : C - Job Entry System

Explanation
The Operating System uses Job Entry System (JES) to receive jobs into the
Operating System,
to schedule them for processing and to control the output.
-----------------------------------------------------------------------------------
----------------------

Q127. What is the purpose of coding CLASS parameter in job statement?

A - Assign a job-class to a Job which decides the nature of job

B - To specify the output destination for the system and Job messages when the job
is complete

C - To restart a job from a particular step

D - To notify a user

Answer : A - Assign a job-class to a Job which decides the nature of job

Explanation
Based on the time duration and the number of resources required by the job,
companies assign different job classes.
These can be visualized as individual schedulers used by the OS to receive
the jobs.
Placing the jobs in the right scheduler will aid in easy execution of the
jobs.
Some companies have different classes for jobs in test and production
environment.
Valid values for CLASS parameter are A to Z characters and 0 to 9 numeric
(of length 1).
Following is the syntax: CLASS=0 to 9 | A to Z
-----------------------------------------------------------------------------------
----------------------

Q128. How you will the direct the data to spool using SYSOUT option?

A - SYSOUT=DISP

B - SYSOUT=spool

C - SYSOUT=file-name

D - SYSOUT=*

Answer : D - SYSOUT=*

Explanation
Code SYSOUT=*, then the data will be directed to spool.
-----------------------------------------------------------------------------------
----------------------

Q129. Which of these is not a valid operation code?

A - JOB

B - EXEC

C - DD

D - PGM

Answer : D - PGM

Explanation
Valid operation code in JCL are JOB, EXEC & DD. PGM is a parameter, it is not
an operation.
-----------------------------------------------------------------------------------
----------------------

Q130. What sort card you will use to copy the data from one dataset to another
dataset?

A - SORT FIELDS=COPY

B - SORT FIELDS=MOVE

C - SORT FIELDS=COPY(ALL)

D - SORT FIELDS=MOVE(ALL)

Answer : A - SORT FIELDS=COPY

Explanation
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.
-----------------------------------------------------------------------------------
----------------------
Q131. What will happen to Step2 if Step1 abend with some error?

//TXXXXXX JOB (XXXXX), ’XXXX’


//STEP1 EXEC PGM = PR1
//STEP2 EXEC PGM = PR2, COND = EVEN
A - Step2 will be bypassed

B - Step2 will be executed

C - None of these

Answer : B - Step2 will be executed

Explanation
Step2 will be executed as we have coded EVEN which means this step will be executed
even if all other steps
abends or not. If you will code EVEN then step will be executed irrespective
of results from other steps.
-----------------------------------------------------------------------------------
----------------------

Q132. If we want to use a GDG which is already created by some job, then how to use
the reference of the last
generation in a JCL?

A - As (-1) generation

B - As (+1) generation

C - As (+0) generation

D - As (-2) generation

Answer : C - As (+0) generation

Explanation
To refer the last generation of a GDG, we use the reference as (+0).
-----------------------------------------------------------------------------------
----------------------

Q133. What will happen to Step2 if Step1 executes with RC=0?

//TXXXXXX JOB (XXXXX), ’XXXX’


//STEP1 EXEC PGM = PR1
//STEP2 EXEC PGM = PR2, COND = (4, LE, STEP1)
A - Step2 will be bypassed

B - Step2 will be executed

C - None of these

Answer : B - Step2 will be executed

Explanation
It will read the condition on step2 as 4 Less than 0, which is false, so step
will be executed.
If condition is true then only the step will be bypassed.
-----------------------------------------------------------------------------------
----------------------
Q134. What units are used for allocation of output dataset?

A - KB

B - Bytes

C - Cylinders, Tracks & Blocks

D - MB

Answer : C - Cylinders, Tracks & Blocks

Explanation
In mainframes, we use cylinders, tracks and blocks for allocation of
datasets.
-----------------------------------------------------------------------------------
----------------------

Q135. On how many byte records JCL statements are coded?

A - 16

B - 44

C - 80

D - 32

Answer : C 80

Explanation
JCL statements are coded on 80 bytes records.
-----------------------------------------------------------------------------------
----------------------

Q136. Which utility is used to update PDS?

A - IEBGENER

B - IEBCOPY

C - IEBCOMPR

D - IEBUPDTE

Answer : D - IEBUPDTE

Explanation
IEBUPDTE is used to update PDS
-----------------------------------------------------------------------------------
----------------------

Q137. A STEPLIB statement is used in order to identify the location of the program
to be executed within a Job Step. The STEPLIB statement is specified after the EXEC
statement and before the DD statement of the job step. State whether true or false?

A - True
B - False

Answer : A

Explanation
This statement is correct.
-----------------------------------------------------------------------------------
----------------------

Q138. Positional parameters are coded first before any Keyword parameter and
parameters are separated by ‘Commas’ only. State whether true or false?

A - False

B - True

Answer : B

Explanation
This statement is correct.
-----------------------------------------------------------------------------------
----------------------

Q139. Where & how do you code Identifier in JCL?

A - /* starting from column 1

B - / starting from column 1

C - // starting from column 1

D - None of these

Answer : C // starting from column 1

Explanation
Identifiers are two slashes (//) starting from column number 1. All JCL
statements starts
with identifiers except for two exceptions - For a delimiter statement, /*
starting in col 1
and for a comment statement , //* starting at col 1.
-----------------------------------------------------------------------------------
----------------------

Q140. In Job processing, what happens in Conversion stage?

A - Selection of Initiator for execution of Job

B - Job statement is converted into an interpreted text to be understood by JES and


stored
into a dataset, which we call as SPOOL

C - Job is taken as an input to JES

D - Allocated resources and the JES SPOOL space is released

Answer : B - Job statement is converted into an interpreted text to be understood


by JES
and stored into a dataset, which we call as SPOOL
Explanation
The JCL along with the PROC is converted into an interpreted text to be
understood by JES and stored into a dataset, which we call as SPOOL.
-----------------------------------------------------------------------------------
----------------------

Q141. Which utility is used to copy or print sequential data sets?

A - IEBGENER

B - IEBCOPY

C - IEBCOMPR

D - IEBUPDTE

Answer : A - IEBGENER
Explanation
IEBGENER is used to copy or print sequential datasets.
-----------------------------------------------------------------------------------
----------------------

Q142. What prefix character we use for symbolic parameter?

A - %

B - @

C - &

D - $

Answer : C - &
Explanation
We use & for symbolic parameters.
-----------------------------------------------------------------------------------
----------------------

Q143. What are the type of procedure in JCL?

A - Cataloged

B - Uncataloged

C - In-stream

D - Both A & B

Answer : D - Both A & B


Explanation
Catalog and in-stream procedures are used in JCL.
-----------------------------------------------------------------------------------
----------------------
Q144. What is the purpose of coding RESTART parameter in job statement?

A - Assign a job-class to a Job which decides the nature of job

B - To specify the output destination for the system and Job messages when the job
is complete

C - To restart a job from a particular step

D - To notify a user

Answer : C - To restart a job from a particular step

Explanation
RESTART is used to restart a job from a particular step. Syntax : RESTART=* |
STEPNAME
-----------------------------------------------------------------------------------
----------------------

Q145. What is JCL?

A - JCL is a set of control statements which provides the specifications necessary


to process a job.

B - JCL is a interface between programs & MVS operating system.

C - JCL is used to run COBOL programs on IBM Mainframes.

D - All of these.

Answer : D - All of these.


Explanation
All the statements regarding JCL are correct.
-----------------------------------------------------------------------------------
----------------------

Q146. On how many byte records JCL statements are coded?

A - 16

B - 44

C - 80

D - 32

Answer : C
Explanation
JCL statements are coded on 80 bytes records.
-----------------------------------------------------------------------------------
----------------------

Q147. What will be the output of following JCL which is calling a catalog
procedure?

//TXXXXXJ JOB ,, NOTIFY = &SYSUID, CLASS = A, MSGCLASS = X


// JCLLIB ORDER=XXXXX.PROC.LIBRARY
//DATA1 EXEC PROC = PROC1, TIME = 3
A - TIME parameter inside PROC1 will not be overridden

B - TIME parameter coded in PROCEDURE PROC1 will be replaced with TIME parameter
overridden in the JCL i.e TIME = 3

C - It will give abend


D - None of these

Answer : B - TIME parameter coded in PROCEDURE PROC1 will be replaced with TIME
parameter overridden in the JCL
i.e TIME = 3

Explanation
We are overriding the TIME parameter inside PROC1.
-----------------------------------------------------------------------------------
----------------------

Q148. In Job processing, what happens in Purge stage?

A - Selection of Initiator for execution of Job

B - Job statement is converted into an interpreted text to be understood by JES and


stored into a dataset,
which we call as SPOOL

C - Moving the output of Job to spool output

D - Allocated resources and the JES SPOOL space is released

Answer : D - Allocated resources and the JES SPOOL space is released

Explanation
When the job is complete, the allocated resources and the JES SPOOL space is
released.
In order to store the job log, we need to copy the job log to another dataset
before it is released from the SPOOL.
-----------------------------------------------------------------------------------
----------------------

Q149. 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
SUM FIELDS = NONE
/*
A - It will copy the data from input file to output file and will eliminate the
duplicates

B - It will copy the data from input file to output file and will not eliminate the
duplicates

C - It will copy the data from input file to output file

D - None of these

Answer : A - It will copy the data from input file to output file and will
eliminate the duplicates

Explanation
SUM FIELDS=NONE is used to eliminate the duplicate rows.
-----------------------------------------------------------------------------------
----------------------

Q150. LIMIT option in GDG's specifies the maximum number of versions that the GDG
base can hold.
State whether true or false?

A - False

B - True

Answer : B - True

Explanation
This is self explanatory.
-----------------------------------------------------------------------------------
----------------------

Q151. In-stream procedure is coded as a separate member of a PDS. State whether


true or false?

A - True

B - False

Answer : B - False

Explanation
In-stream procedure is coded inside the JCL itself. So this statement is
incorrect.
-----------------------------------------------------------------------------------
----------------------

Q152. RESTART parameter is coded in the JOB or EXEC statement and it helps in
manual restart
of the JOB/STEP after the job failure. State whether true or false?

A - True

B - False

Answer : A - True

Explanation
This statement is correct.
-----------------------------------------------------------------------------------
----------------------

Q153. Up to which level cataloged and in-stream procedure can invoke other
procedure?

A - 20

B - 15

C - 25

D - 12
Answer : B - 15

Explanation
Cataloged and In-stream procedure can invoke other procedure up to 15 levels
only.
-----------------------------------------------------------------------------------
----------------------

Q154. Calling a procedure from within a procedure is called a nested procedure.


Procedures can be
nested up to 15 levels. The nesting can be completely in-stream or cataloged.
We cannot code an in-stream procedure within a cataloged procedure. State
whether true or false?

A - True

B - False

Answer : A- True

Explanation
This statement is correct.
-----------------------------------------------------------------------------------
----------------------

Q155. What will happen to Step2 if Step1 executes with RC=0?

//TXXXXXX JOB (XXXXX), ’XXXX’


//STEP1 EXEC PGM = PR1
//STEP2 EXEC PGM = PR2, COND = EVEN
A - Step2 will be bypassed

B - Step2 will be executed

C - None of these

Answer : B

Explanation
Step2 will be executed as we have coded EVEN which means this step will be
executed
even if all other steps abends or not. If you will code EVEN then step will
be executed irrespective of results from other steps
-----------------------------------------------------------------------------------
----------------------

Q156. What will happen to Step2 if Step1 executes with RC=0?

//TXXXXXX JOB (XXXXX), ’XXXX’


//STEP1 EXEC PGM = PR1
//STEP2 EXEC PGM = PR2, COND = (0, EQ, STEP1)
A - Step2 will be bypassed

B - Step2 will be executed

C - None of these

Answer : A- Step2 will be bypassed


Explanation
It will read the condition on step2 as 0 EQUAL 0, which is true, so step will
be bypassed.
If condition is true then the step will be bypassed.
-----------------------------------------------------------------------------------
----------------------

Q157. 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')
/*
A - It will copy only those rows which starts from TUTORI from input file to output
file.

B - It will copy the data from input file to output file and will not eliminate the
duplicates

C - It will copy the data from input file to output file

D - None of these

Answer : A- It will copy only those rows which starts from TUTORI from input file
to output file.

Explanation
It is used to include rows based on the condition that the first 6 characters
should start from
TUTORI and will ignore the rest.
-----------------------------------------------------------------------------------
----------------------

Q158. Which utility is used to create, delete, rename, catalog, uncatalog datasets
(other than PDS) and
usually used to manage VSAM datasets?

A - IEBGENER

B - IEBCOPY

C - IEBCOMPR

D - IDCAMS

Answer : D- IDCAMS

Explanation
IDCAMS is used to create, delete, rename, catalog, uncatalog datasets (other
than PDS)
and usually used to manage VSAM datasets.
-----------------------------------------------------------------------------------
----------------------

Q159. SCRATCH option in GDG's physically deletes the generation when it is


uncataloged.
State whether true or false?

A - False

B - True

Answer : B - True

Explanation
This is self explanatory.
-----------------------------------------------------------------------------------
----------------------

Q160. What are the various stages of Job processing?

A - Input → Execution → Conversion → Hard copy → Output → Purge

B - Input → Conversion → Execution → Hard copy → Output → Purge

C - Input → Conversion → Execution → Output → Hard copy → Purge

D - None of these

Answer : C - Input → Conversion → Execution → Output → Hard copy → Purge

Explanation
Correct answer is C. Job is processed in this manner.
-----------------------------------------------------------------------------------
----------------------

Q161. PROC1 is a in-stream procedure in a JCL and with this name PROC1 one catalog
procedure exists,
then which procedure will be invoked - catalog or in-stream?

//TXXXXX JOB ,, NOTIFY = &SYSUID


// JCLLIB ORDER = (XXXXX.PROCLIB)
// PROC1 PROC
//STEP1 EXEC PGM = IEFBR14
//DD1 DD DSN = TXXXXX.TEST, SPACE = (TRK, (1,1)),
// DCB = (RECFM = FB, BLKSIZE = 8000, LRECL = 80),
// DISP = (NEW, DELETE)
//PEND
//STEP1 EXEC PROC1
A - In-stream procedure

B - Catalog procedure

C - Job wants evening

D - None of these

Answer : A - In-stream procedure

Explanation
In-stream procedure will be invoked.
-----------------------------------------------------------------------------------
----------------------
Q162. How you will define a temporary dataset in JCL?

A - DSN = &&TEMP with DSN parameters

B - DSN = temp-file-name with DSN parameters

C - DSN = temp-file-name with out DSN parameters

D - DSN = &&TEMP with out DSN parameters

Answer: D - DSN = &&TEMP with out DSN parameters


-----------------------------------------------------------------------------------
----------------------

Q163. What is use of DISP parameter in DD statement?

A - Space required for the dataset

B - Physical characteristics of a dataset

C - Disposition of dataset

D - Physical Dataset Name

Answer - C - Disposition of dataset

-----------------------------------------------------------------------------------
----------------------

Q164. What is use of DCB parameter in DD statement?

A - Space required for the dataset

B - Physical characteristics of a dataset

C - Disposition of dataset

D - Physical Dataset Name

Answer: - Physical characteristics of a dataset


-----------------------------------------------------------------------------------
----------------------

Q165. Which utility is used to run a COBOL-DB2 program?

A - IKJEFT02

B - IKJEFT01

C - IGYCRCTL

D - None of these

Answer: IKJEFT01
-----------------------------------------------------------------------------------
----------------------

Q166. Which utility is used for copy, merge, compress, backs up, or restores
partitioned data sets?
A - IEBGENER

B - IEBCOPY

C - IEBCOMPR

D - IEBUPDTE

Answer: B - IEBCOPY
-----------------------------------------------------------------------------------
---------------------

Q167. Which utility is used to compare the contents of sequential data sets and
partitioned datasets?

A - IEBGENER

B - IEBCOPY

C - IEBCOMPR

D - IEBUPDTE

Answer: C - IEBCOMPR
-----------------------------------------------------------------------------------
----------------------

Q168.Which utility is used to sort a file in JCL?

A - DFHSORT

B - DHSORT

C - MERGE

D - SORT

Answer: D - SORT
-----------------------------------------------------------------------------------
----------------------

Q169. 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?

A - False

B - True

Answer: B - True
-----------------------------------------------------------------------------------
----------------------

Q170. Can a Catalogued procedure call an In-stream procedure?

A - No
B - Yes

Answer: B - Yes
-----------------------------------------------------------------------------------
----------------------

Q171. In order to execute step2 a job after a return code of 8 in step1, what
condition you will code in step2?

A - COND=(12,GT,STEP1)

B - COND=(12,LT,STEP1)

C - COND=(8,EQ,STEP1)

D - RESTART

Answer: B - COND=(12,LT,STEP1)
-----------------------------------------------------------------------------------
----------------------

Q172. Up to which level cataloged and in-stream procedure can invoke other
procedure?

A - 20

B - 15

C - 25

D - 12

Answer: B - 15
-----------------------------------------------------------------------------------
----------------------

Q173. If we have created a (+1) generation dataset in the first step of a job then
how we can reference
it in later steps of the same job for input?

A - As (+2) generation

B - As (+0) generation

C - As (+1) generation

D - As (-2) generation

Answer: C - As (+1) generation


-----------------------------------------------------------------------------------
----------------------

Q174. How to send the execution status of a job to a user?

A - STATUS

B - MESSAGE
C - NOTIFY

D - ALERT

Answer: C - NOTIFY
-----------------------------------------------------------------------------------
----------------------

Q175. What DISP parameter we mention for creation of temporary dataset so that we
can use it in later steps?

A - DISP=(NEW,CATLG,DLTE)

B - DISP=(NEW,DLTE)

C - DISP=(NEW,PASS)

D - DISP=(NEW,CTLG)

Answer: C - DISP=(NEW,PASS)
-----------------------------------------------------------------------------------
----------------------

Q176. In Job processing, what happens in Input stage?

A - Selection of Initiator for execution of Job

B - Job statement is converted into an interpreted text to be understood by JES and


stored into a dataset,
which we call as SPOOL

C - Job is taken as an input to JES

D - Allocated resources and the JES SPOOL space is released

Answer: C - Job is taken as an input to JES


-----------------------------------------------------------------------------------
----------------------

Q177. In Job processing, what happens in Hard copy stage?

A - Selection of Initiator for execution of Job

B - Job statement is converted into an interpreted text to be understood by JES and


stored into a dataset,
which we call as SPOOL

C - Moving the output of Job to spool output

D - Allocated resources and the JES SPOOL space is released

Answer: C - Moving the output of Job to spool output


-----------------------------------------------------------------------------------
----------------------

Q178. What is the purpose of coding MSGCLASS parameter in job statement?

A - Assign a job-class to a Job which decides the nature of job


B - To specify the output destination for the system and Job messages when the job
is complete

C - To restart a job from a particular step

D - To notify a user

Answer: B - To specify the output destination for the system and Job messages when
the job is complete
-----------------------------------------------------------------------------------
----------------------

Q179. What is the purpose of coding NOTIFY parameter in job statement?

A - Assign a job-class to a Job which decides the nature of job

B - To specify the output destination for the system and Job messages when the job
is complete

C - To restart a job from a particular step

D - To notify a user

Answer: D - To notify a user


-----------------------------------------------------------------------------------
----------------------

Q180.What is the purpose of coding REGION parameter in job statement?

A - Specifies the address space required to run a job step within the job

B - Specifies the time span to be used by the processor to execute the job

C - To specify the priority of the job within a job class

D - To restart a job from a particular step

Answer: A - Specifies the address space required to run a job step within the job
-----------------------------------------------------------------------------------
----------------------

Q181. What is the purpose of coding TIME parameter in job statement?

A - Specifies the address space required to run a job step within the job

B - Specifies the time span to be used by the processor to execute the job

C - To specify the priority of the job within a job class

D - To restart a job from a particular step

Answer: B - Specifies the time span to be used by the processor to execute the job
-----------------------------------------------------------------------------------
----------------------

Q182. What is the purpose of coding PRTY parameter in job statement?

A - Specifies the address space required to run a job step within the job
B - Specifies the time span to be used by the processor to execute the job

C - To specify the priority of the job within a job class

D - To restart a job from a particular step

Answer: C - To specify the priority of the job within a job class


-----------------------------------------------------------------------------------
----------------------

Q183. What will happen to Step2 if Step1 abend with some error?

//TXXXXXX JOB (XXXXX), ’XXXX’


//STEP1 EXEC PGM = PR1
//STEP2 EXEC PGM = PR2, COND = ONLY

A - Step2 will be bypassed

B - Step2 will be executed

C - None of these

Answer: B - Step2 will be executed


-----------------------------------------------------------------------------------
----------------------

Q184. What will happen to Step2 if Step1 executes with RC=0?

//TXXXXXX JOB (XXXXX), ’XXXX’


//STEP1 EXEC PGM = PR1
//STEP2 EXEC PGM = PR2, COND = (0, EQ, STEP1)

A - Step2 will be bypassed

B - Step2 will be executed

C - None of these

Answer: A - Step2 will be bypassed


-----------------------------------------------------------------------------------
----------------------

Q185. 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?

A - True

B - False

Answer: A - True
-----------------------------------------------------------------------------------
----------------------

Q186. Calling a procedure from within a procedure is called a nested procedure.


Procedures can be nested up to 15 levels. The nesting can be completely in-
stream or cataloged.
We cannot code an in-stream procedure within a cataloged procedure. State
whether true or false?

A - True

B - False

Answer: A - True
-----------------------------------------------------------------------------------
----------------------

Q187. A SET statement is used to define commonly used symbolic across job steps or
procedures.
It initializes the previous values in the symbolic names.
It has to be defined before the first use of the symbolic names in the JCL.
State whether true or false?

A - True

B - False

Answer: A - True
-----------------------------------------------------------------------------------
----------------------

Q188. RESTART parameter is coded in the JOB or EXEC statement and it helps in
manual restart
of the JOB/STEP after the job failure. State whether true or false?

A - True

B - False

Answer: A - True
-----------------------------------------------------------------------------------
----------------------

Q189. Temporary datasets need storage only for the job duration and are deleted at
job completion.
Such datasets are represented as DSN=&name or simply without a DSN
specified. State whether true or false?

A - True

B - False

Answer: A - True
-----------------------------------------------------------------------------------
----------------------

Q190. A job is a unit of work which can be made up of many job steps.
Each job step is specified in a Job Control Language (JCL) through a set of
Job Control Statements.
State whether true or false?

A - False

B - True
Answer: B - True
-----------------------------------------------------------------------------------
----------------------

Q191. JOB statement specifies the information required for SPOOLing of the job such
as job id, priority of execution, user-id to be notified upon completion of the
job. State whether true or false?

A - False

B - True

Answer: B - True
-----------------------------------------------------------------------------------
----------------------

Q192. Account information refers to the person or group to which the CPU time is
owed.
It is set as per the rules of the company owning the mainframes. If it is
specified as (*),
then it takes the id of the user, who has currently logged into the
Mainframe Terminal.
State whether true or false?

A - False

B - True

Answer: B - True
-----------------------------------------------------------------------------------
----------------------

Q193. A CHKPT is the parameter coded for multi-volume QSAM datasets in a DD


statement.
When a CHKPT is coded as CHKPT=EOV, a checkpoint is written to the dataset
specified
in the SYSCKEOV statement at the end of each volume of the input/output
multi-volume dataset.
State whether true or false?

A - False

B - True

Answer: B - True
-----------------------------------------------------------------------------------
----------------------

Q194. LIMIT option in GDG's specifies the maximum number of versions that the GDG
base can hold.
State whether true or false?

A - False

B - True

Answer: B - True
-----------------------------------------------------------------------------------
----------------------

Q195. The GDG versions can have same or different DCB parameters.
An initial model DCB can be defined to be used by all versions,
but it can be overridden when creating new versions. State whether true or
false?

A - False

B - True

Answer: B - True
-----------------------------------------------------------------------------------
----------------------

Q196. 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')
/*

A - It will copy only those rows which starts from TUTORI from input file to output
file.

B - It will copy the data from input file to output file and will not eliminate the
duplicates

C - It will copy the data from input file to output file

D - None of these

Answer: A - It will copy only those rows which starts from TUTORI from input file
to output file.
-----------------------------------------------------------------------------------
----------------------

Q197. PROC1 is a in-stream procedure in a JCL and with this name PROC1 one catalog
procedure exists, then which procedure will be invoked - catalog or in-stream?

//TXXXXX JOB ,, NOTIFY = &SYSUID


// JCLLIB ORDER = (XXXXX.PROCLIB)
//PROC1 PROC
//STEP1 EXEC PGM = IEFBR14
//DD1 DD DSN = TXXXXX.TEST, SPACE = (TRK, (1,1)),
// DCB = (RECFM = FB, BLKSIZE = 8000, LRECL = 80),
// DISP = (NEW, DELETE)
//PEND
//STEP1 EXEC PROC1

A - In-stream procedure

B - Catalog procedure

C - Job will abend


D - None of these

Answer: A - In-stream procedure


-----------------------------------------------------------------------------------
----------------------

Q198. What is the name of program which will be executed in the STEP1?

//XXXXX JOB ,, NOTIFY = SYSUID, CLASS = A, MSGCLASS = X


// SET A = PROG1
//STEP1 EXEC PGM = &A
//DD1 DD DSN = FILE1, DISP = SHR

A - A

B - PROG1

C - It will not recognize the value of A

D - None of these

Answer: B - PROG1
-----------------------------------------------------------------------------------
----------------------

Q199. Can a Catalogued procedure call an In-stream procedure?

A - No

B - Yes

Answer: B - Yes
-----------------------------------------------------------------------------------
----------------------

Q200. What is the output of following JCL?

//STEP1 EXEC PGM = IEBEDIT


//SYSUT1 DD DSN = XXXXXX.XXXX.XXXX(XXXXXXXX), DISP = SHR
//SYSUT2 DD SYSOUT = (*,INTRDR)
//SYSPRINT DD SYSOUT = *
//SYSIN DD *
EDIT TYPE = INCLUDE, STEPNAME = (STEP3,STEP7)
/*

A - It will execute only STEP1

B - It will exclude STEP3 & STEP4 from execution

C - It will execute only STEP3 & STEP4

D - None of these

Answer: C - It will execute only STEP3 & STEP4


-----------------------------------------------------------------------------------
----------------------

Q201. When output dataset space is required, what quantity categories are used?
A. Primary, Secondary, Directory
B. Address, Units, CONTIG or ALS
C. Displacement and length
D. Megabytes, Kilobytes and Bytes

Answer: A. Primary, Secondary, Directory


-----------------------------------------------------------------------------------
----------------------

Q202. We know that we can have a maximum of 255 "sequential data sets" that can be
concatenated together,
but what will be the maximum "partitioned data sets" that can be
concatenated

A. 16
B. 32
C. 31
D. 64

Answer: B. 32
-----------------------------------------------------------------------------------
----------------------

Q203. What statement marks the end of an in-stream or Catalogued procedure?

A. Stream
B. Set
C. Proc
D. Pend

Answer: D. Pend
-----------------------------------------------------------------------------------
----------------------

Q204. A DD statement consists of 4 fields. Name them?

A. Name, DD, Space, Device


B. Format, Name, DD, Space
C. DD, parameter, device, format
D. Name, DD, parameter, comments

Answer: D. Name, DD, parameter, comments


-----------------------------------------------------------------------------------
----------------------

Q205. Which parameter denotes exclusive control of the dataset.

A. DISP=OLD
B. DISP=SHR
C. DISP=MOD
D. Nonr

Answer: A. DISP=OLD
-----------------------------------------------------------------------------------
----------------------
Q206.For how long a job can be executed continuously in a mainframe.

A. 248 days
B. 247 days
C. 255 days
D. 256 days

Answer: A. 248 days

Q207. PARM is an Keyword parameter of which statement?

A. EXEC
B. DD
C. PARAM
D. JOB

Answer: C. PARAM
-----------------------------------------------------------------------------------
----------------------

Q208. What are the kinds of job control statements.

A. JOB
B. EXEC
C. DD
D. ALL

Answer: D. ALL
-----------------------------------------------------------------------------------
----------------------

Q209. How is the record format of an output dataset specified?

A. RECORG parameter
B. STORCLAS parameter
C. RECFM parameter
D. None of the above

Answer: C. RECFM parameter


-----------------------------------------------------------------------------------
----------------------

Q210. What is the purpose of the DD KEYLEN parameter?

A. Specify the length of a data set key in bytes


B. Override the key length of an SMS defined VSAM dataset
C. Override the key length specified in the dataset label
D. All of the above

Answer: D. All of the above


-----------------------------------------------------------------------------------
----------------------

Q211. What statement can be used to send data to another MVS JES3 node?

A. Link
B. Connect
C. XMIT
D. Send

Answer: C. XMIT
-----------------------------------------------------------------------------------
----------------------

Q212. How can a stopped job be started again?

A. Through the Return Parameter


B. Through the Starup Parameter
C. Through the Restart Parameter
D. Through the CHECKPNT keyword

Answer: C. Through the Restart Parameter


-----------------------------------------------------------------------------------
----------------------

Q213. What is the purpose of DD * statement in JCL?

A. Begins an input data prompt at the system console


B. Begins an in-stream dataset
C. Marks the end of a command stream
D. Includes all datasets within a naming pattern

Answer: B. Begins an in-stream dataset


-----------------------------------------------------------------------------------
----------------------

Q214. What is the maximum length of a single line of JCL?

A. 71 Bytes
B. 60 Bytes
C. 55 Bytes
D. 80 Bytes

Answer: A. 71 Bytes
-----------------------------------------------------------------------------------
----------------------

Q215. What is the format of comment statement?

A. //
B. //*
C. /*
D. None of the above

Answer: B. //*
-----------------------------------------------------------------------------------
----------------------

Q216. 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?

A. START
B. RUN
C. EXEC
D. GO

Answer: C. EXEC
-----------------------------------------------------------------------------------
----------------------

Q217. Where can program checkpoints be stored for use in a restart?

A. CHECKPOINT DD statement
B. SYSCHK DD statement
C. CHKOUT DD statement
D. CHECK or DD statement

Answer: B. SYSCHK DD statement


-----------------------------------------------------------------------------------
----------------------

Q218. Many JCL statements contain specific values designed to direct and control
the execution of the statement.
What are these fields called?

A. Linkage Variable
B. Parameters
C. Control Libraries
D. Includes

Answer: B. Parameters
-----------------------------------------------------------------------------------
----------------------

Q219.

You might also like