Sunteți pe pagina 1din 2

JCL & Utilities Assesment

1. 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
2. Which of the parameters can be coded on both JOB and EXEC?
A - TIME
B - COND
C - ACCT
D - All of these
3.

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
4. 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
5. Which utility is used to compare the contents of sequential data sets and partitioned datasets?
A - IEBGENER
B - IEBCOPY
C - IEBCOMPR
D - IEBUPDTE
6.

SCRATCH option in GDG's physically deletes the generation when it is uncataloged. State
whether true or false?
A - False
B - True
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

7.

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
8. Which parameter is use to declare the name of dataset in DD statement?
A - DS

B - NAME
C - DSN
D - MARK
9. Which of these is not a valid operation code?
A - JOB
B - EXEC
C - DD
D PGM
10. 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
11. 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
12. 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
13. 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
14. How do we pass values to a program through JCL?
A - In-stream data
B - PARM
C - Both A & B
D - Not possible
15. 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

S-ar putea să vă placă și