JCL Quiz
JCL Quiz
**********************
JCL AND ISPF QUIZ
***********************************************************************************
**********************
71. Which utility is used a dummy utility?
A. IEBGENER
B. IEBCOPY
C. IEBCOMPR
D. IEFBR14
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)
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?
Answer: Option D. Identifies the libraries that the system will search for include
groups or procedures named in
EXEC statements
-----------------------------------------------
A. Stream
B. Set
C. Proc
D. Pend
Answer: Option c. A list of datasets available to MVS along with the location data
-----------------------------------------------------------------------------------
----------------------
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
-----------------------------------------------------------------------------------
----------------------
A. Positional, Keyword
B. Keyword, Control
C. Dynamic, Static
D. Named, Dynamic
84. How can the submitting user’s RACF authority be overridden in a job stream?
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
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
87. If both the JOBLIB and STEPLIB statements are coded, which specification will
the JCL choose to
perform the step
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
-----------------------------------------------------------------------------------
----------------------
A - 16
B - 44
C - 80
D - 32
Answer : C 80
Explanation
JCL statements are coded on 80 bytes records.
-----------------------------------------------------------------------------------
----------------------
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?
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
-----------------------------------------------------------------------------------
----------------------
C - Disposition of dataset
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?
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)
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.
-----------------------------------------------------------------------------------
----------------------
A - KB
B - Bytes
D - MB
Explanation
In mainframes, we use cylinders, tracks and blocks for allocation of
datasets.
-----------------------------------------------------------------------------------
----------------------
A - Job Identification
D - None of these
Explanation
DD statement is used to include name of the dataset to operate.
-----------------------------------------------------------------------------------
----------------------
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.
-----------------------------------------------------------------------------------
----------------------
C - None of these
Explanation
Step2 will be bypassed as we have coded ONLY, which means Step will be
executed only if the
previous steps abend.
-----------------------------------------------------------------------------------
----------------------
D - None of these
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.
-----------------------------------------------------------------------------------
----------------------
A - Positional
B - Keyword
C - In-Stream
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?
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.
-----------------------------------------------------------------------------------
----------------------
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?
B - TIME parameter coded in PROCEDURE PROC1 will be replaced with TIME parameter
overridden in the JCL i.e TIME = 3
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.
-----------------------------------------------------------------------------------
----------------------
A - JOB statement
B - Delimiter statement
C - Null statement
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)
-----------------------------------------------------------------------------------
----------------------
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
-----------------------------------------------------------------------------------
----------------------
D - None of these
Explanation
JCL stands for Job Control Language which provides the specifications
necessary to process a job.
-----------------------------------------------------------------------------------
----------------------
A - PEND
B - PROC
C - SET
D - STARTAnswer : B - PROC
Explanation
PROC is used for declaring a procedure.
-----------------------------------------------------------------------------------
----------------------
A - IKJEFT02
B - IKJEFT01
C - IGYCRCTL
D - None of these
Answer : C - IGYCRCTL
Explanation
We use IGYCRCTL utility to compile a COBOL program.
-----------------------------------------------------------------------------------
----------------------
A - Job Identification
B - Execution of program
D - None of these
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.
-----------------------------------------------------------------------------------
----------------------
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.
-----------------------------------------------------------------------------------
----------------------
C - Disposition of 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)
-----------------------------------------------------------------------------------
----------------------
Explanation
MVS stands for Multiple Virtual storage which is the operating system for the
IBM mainframe systems.
-----------------------------------------------------------------------------------
----------------------
A - True
B - False
-----------------------------------------------------------------------------------
----------------------B - False
Answer : A - True
Explanation
This statement is correct.
-----------------------------------------------------------------------------------
----------------------
A - In-stream data
B - PARM
C - Both A & B
D - Not possible
Explanation
We can pass data to a program either by in-stream data (DD *) or by using
PARM parameter.
-----------------------------------------------------------------------------------
----------------------
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).
-----------------------------------------------------------------------------------
----------------------
D - None of these
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.
-----------------------------------------------------------------------------------
----------------------
B - To specify the output destination for the system and Job messages when the job
is complete
D - To notify a user
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.
-----------------------------------------------------------------------------------
----------------------
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)
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?
C - None of these
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
Explanation
To refer the last generation of a GDG, we use the reference as (+0).
-----------------------------------------------------------------------------------
----------------------
C - None of these
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
D - MB
Explanation
In mainframes, we use cylinders, tracks and blocks for allocation of
datasets.
-----------------------------------------------------------------------------------
----------------------
A - 16
B - 44
C - 80
D - 32
Answer : C 80
Explanation
JCL statements are coded on 80 bytes records.
-----------------------------------------------------------------------------------
----------------------
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.
-----------------------------------------------------------------------------------
----------------------
D - None of these
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.
-----------------------------------------------------------------------------------
----------------------
A - IEBGENER
B - IEBCOPY
C - IEBCOMPR
D - IEBUPDTE
Answer : A - IEBGENER
Explanation
IEBGENER is used to copy or print sequential datasets.
-----------------------------------------------------------------------------------
----------------------
A - %
B - @
C - &
D - $
Answer : C - &
Explanation
We use & for symbolic parameters.
-----------------------------------------------------------------------------------
----------------------
A - Cataloged
B - Uncataloged
C - In-stream
D - Both A & B
B - To specify the output destination for the system and Job messages when the job
is complete
D - To notify a user
Explanation
RESTART is used to restart a job from a particular step. Syntax : RESTART=* |
STEPNAME
-----------------------------------------------------------------------------------
----------------------
D - All of these.
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?
B - TIME parameter coded in PROCEDURE PROC1 will be replaced with TIME parameter
overridden in the JCL i.e TIME = 3
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.
-----------------------------------------------------------------------------------
----------------------
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.
-----------------------------------------------------------------------------------
----------------------
B - It will copy the data from input file to output file and will not eliminate the
duplicates
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.
-----------------------------------------------------------------------------------
----------------------
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.
-----------------------------------------------------------------------------------
----------------------
A - True
B - False
Answer : A- True
Explanation
This statement is correct.
-----------------------------------------------------------------------------------
----------------------
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
-----------------------------------------------------------------------------------
----------------------
C - None of these
B - It will copy the data from input file to output file and will not eliminate the
duplicates
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.
-----------------------------------------------------------------------------------
----------------------
A - False
B - True
Answer : B - True
Explanation
This is self explanatory.
-----------------------------------------------------------------------------------
----------------------
D - None of these
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?
B - Catalog procedure
D - None of these
Explanation
In-stream procedure will be invoked.
-----------------------------------------------------------------------------------
----------------------
Q162. How you will define a temporary dataset in JCL?
C - Disposition of dataset
-----------------------------------------------------------------------------------
----------------------
C - Disposition of dataset
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
-----------------------------------------------------------------------------------
----------------------
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
-----------------------------------------------------------------------------------
----------------------
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
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)
-----------------------------------------------------------------------------------
----------------------
D - To notify a user
Answer: B - To specify the output destination for the system and Job messages when
the job is complete
-----------------------------------------------------------------------------------
----------------------
B - To specify the output destination for the system and Job messages when the job
is complete
D - To notify a user
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
Answer: A - Specifies the address space required to run a job step within the job
-----------------------------------------------------------------------------------
----------------------
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
Answer: B - Specifies the time span to be used by the processor to execute the job
-----------------------------------------------------------------------------------
----------------------
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
Q183. What will happen to Step2 if Step1 abend with some error?
C - None of these
C - None of these
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
-----------------------------------------------------------------------------------
----------------------
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
-----------------------------------------------------------------------------------
----------------------
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
-----------------------------------------------------------------------------------
----------------------
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
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?
A - In-stream procedure
B - Catalog procedure
Q198. What is the name of program which will be executed in the STEP1?
A - A
B - PROG1
D - None of these
Answer: B - PROG1
-----------------------------------------------------------------------------------
----------------------
A - No
B - Yes
Answer: B - Yes
-----------------------------------------------------------------------------------
----------------------
D - None of these
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
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
-----------------------------------------------------------------------------------
----------------------
A. Stream
B. Set
C. Proc
D. Pend
Answer: D. Pend
-----------------------------------------------------------------------------------
----------------------
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
A. EXEC
B. DD
C. PARAM
D. JOB
Answer: C. PARAM
-----------------------------------------------------------------------------------
----------------------
A. JOB
B. EXEC
C. DD
D. ALL
Answer: D. ALL
-----------------------------------------------------------------------------------
----------------------
A. RECORG parameter
B. STORCLAS parameter
C. RECFM parameter
D. None 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
-----------------------------------------------------------------------------------
----------------------
A. 71 Bytes
B. 60 Bytes
C. 55 Bytes
D. 80 Bytes
Answer: A. 71 Bytes
-----------------------------------------------------------------------------------
----------------------
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;
A. START
B. RUN
C. EXEC
D. GO
Answer: C. EXEC
-----------------------------------------------------------------------------------
----------------------
A. CHECKPOINT DD statement
B. SYSCHK DD statement
C. CHKOUT DD statement
D. CHECK or 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.