You are on page 1of 13

JCL Intermediate

1. What is SOC4 error stands for A. Storage Violation error Key D . How can unused space allocation be returned to the system when a dataset is closed ? (A) RETURN (B) RLSE (C) CONTIG (D) CLOSE Key B What is S322 abend? A. Space not found in PDS B. Operator cancelled the job C. Time out Abend D. Secondary request is not coded Key C 8. JES2 allocates the data set A. For all the steps before the job is scheduled B. allocates of data set required by a step are done only just before the step executes C. Both the case A & B are possible D. None of the above Key B B. READING file that is not opened C. Invalid address reference D. In all the above case

11. Given an input file with duplicates how to remove the duplicate records from the file using jcl

A.SUM FIELDS=(3,4,ZD) B. SUM FIELDS=NONE C. using ALLDUPS D. Not possible Key B

) Can an individual step be restricted from using all the jobs allowed CPU time ? (1) Yes (2) No (3) Only in Catalogued Procedure (4) Through the STEPTIME parameter

How can the disposition of sysout datasets be set for an entire jobstream ? (1) SYSOUT parameter (2) OUTPUT parameter (3) DEFAULT parameter (4) DEST keyword

19) What is the maximum length of a single line of JCL ? (1) 71 bytes (2) 60 bytes (3) 55 bytes (4 ) 80 bytes

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

(1) Linkage Variables (2) Parameters (3) Control Libraries (4) Includes

26. How can return codes be tested before execution of a job step? (1) Through the RC keyword (2) Through the CODE keyword (3) Through the COND keyword (4) Through the RETURNCD keyword

27. How can values be passed from the job stream to an executable program? (1) Through the PARM keyword (2) Through the VALUE parameter (3) Through the PGM parameter (4) All of the above 35. How can a stopped job be started again? - JCL (1) Through the RETURN parameter (2) Through the STARTUP parameter (3) Through the RESTART parameter (4) Through the CHECKPNT keyword

35. What is the prefix character for symbolic parameter ? (1) % (2) & (3) @ (4) {}

36. If both the JOBCAT & STEPCAT statements are coded in a step, which will be executed? (1) JOBCAT (2) STEPCAT 3. the one coded first in the JCL stream (4) both the statements will be executed in sequence

How many instream procedures can be called within a single job?

jcl

1)255 2)15 3)25 4)30

An instream procedure SAMPLE is coded in a jcl. A cataloged proc SAMPLE is also available system library. When SAMPLE is invoked which is invoked? 1)Instream Procedure. 2)Catalog Proc 3)Both will be ignored. 4)

If both JOBLIB and STEPLIB are coded in a job which one be executed?

1)JOBLIB 2)STEPLIB 3)PROCLIB 4)PROCLIB

When no MSGLEVEL parameter is coded then

jcl

1)only i/p statements are printed. 2)Only i/p and proc statements 3)Only JOB statements is shown in the o/p. 4) Job, Input and output Allocation msg shown Maximum number of DD statements in a job

1)3270 * step 2)255 *step 3)3273 * no of steps 4)3274

which parameter is to be given on the JOB statement to check the syntax of a JCL?

1)TYPRUN=TEST 2)TYPRUN=SCAN 3)TYPRUN=HOLD 4)Both A & B Two JOBS with name JOBNAME are submitted , then jcl

1)Both JOBS are cancelled by the operator. 2)Both JOBS wait in queue. 3)First runs while the 2nd waits in queue. 4)1st JOB is run and Second is cancelled.

Which one of the following is a positional parameter in EXEC statemen jcl

1)ACCT 2)PARM 3)PROC 4)COND

Is random access possible in esds?

1)Yes 2)No 3) Using RRN 4) Using Index key

What is Abend code S806 U0000?

1)Data exception. 2)Memory violation. 3)Load module not found. 4)duplicate dataset

If you code time in both job statement and exec which will overwrite the other

1)Time specified in the job statment 2)Time specified in exec statement 3)it will give a jcl error 4)It will ignore both.

How many tracks for 15 cylinders

1)450 tracks 2)15 tracks 3)150 tracks 4)225 tracks Which of the following is not a positional parameter ?

1)Accounting information. 2)Abnormal termination in DISP. 3)Record format in DCB. 4)Programmers name

If you code both symbolic and overriding parameters which will be Executed?

1)Symbolic parameters. 2)Overriding parameters. 3)will give error. 4)None will be executed.

For which of the following sysprint is not neccessary

1)IEBGERNER 2)IEFBR14 3)SORT 4)ICETOOL What is the return code of IEBCOMPR when both the datasets are not equal?

1)0 2)4 3)8 4)12

For a New dataset which parameter is compulsary?

1)DISP 2)DCB 3)SPACE 4)VOLUME

Which of the following is not in REPRO command?

1)Replace. 2)Reuse. 3)Skip 4)readnext What is the purpose of BLDINDEX?

1)To create a path 2)To create a alternate index. 3)To create a logical relation. 4)To load an Index. How many RDF fields are there if the record format is variable?

1)One 2)Two 3)Three 4)Depends on records How many times the seconday spaces is allocated for cylinders?

1)255 2)80 3)150 4)122

1. When you are dealing with variable length data set ie if RECFM=V then what will be the value of LRECL parameter? A. Similar to RECFM=F option B. LRECL option is not a mandatory C. LRECL value is largest record in the file plus 4 bytes. D. LRECL value smaller record plus 4 bytes

1. Can we use empty VSAM as input 1.No 2.Yes 3.Both 4. None of the above

2. Can we delete a data set using iefbr14 , iebgener 1.yes,both can delete the dataset 2.No,cannot delete dataset in iebgener 3.No,it is not possible on both the utilities 4. None of the above 3. Can I concatenate a ps file , pds member and a gdg . if so how. 1.No,only ps can be concatenated 2.No,GDG cannot be concatenated 3.yes,using iebgener utility 4. None of the above 4. What is the default value the region parameter will take. 1.0k/0m 2.1k 3.100k 4. 2K/2M

5. Name the system libraries from which modules are retrieved at execution. 1.SYS1.LINKLIB 2.ZOS.PROCLIB 3.Both from SYS1.LINKLIB and ZOS.PROCLIB 4. None of the above 6. how many types of libraries are there in jcl 1. Five 2. Two

3. Three 4. None

27.What are SD37 , SB37 and SE37 abends 1. Space abends 2. Job exceeds maximum wait time 3. Region problem 4. None of the above 30.How to pass the temp. data set from one step to another 1.using disp=shr parameter 2.using disp=old parameter 3.using disp=(new, pass) parameter 4. Not possible 33.Can you execute a proc from another proc [ nested procs. ] 1.No,nested procedures is not possible 2.Yes,can go for nested procedures 3.only procedure can be called by another procedure if the procedure is cataloged 4. both B and C 34.How is the keyword DUMMY interpreted by jcl 1. .Is coded on the DD statement to test the execution the program without reading or writing to a data set. 2.It is coded to omit the DD statements 3.It is coded to pass data to the program 4. both B and C

7.

How is normal data set passed from one step to another 1. Using backward reference or using disp=shr 2. No,data set cannot be passed from one step to another 3. Only temporary data sets can be passed from one step to another 4. None of the above

8.

How do you access a file that had a disposition keep 1.Indicates that the data set is to be retained or keep in DASD Volumes upon successful execution of the job 2.used to share the datasets over different steps 3.used to catalog the dataset 4. None of the above

29) VSAM processing options could be specified in a) Catalog b) Program control blocks c) JCL d) None e) All the above 31) Which of the following is/are not supported by COBOL? (d) a) Skip-sequential processing b) RBA addressing c) Replacing existing record d) a and b e) a, b and c f) a and c 44) An alternate index itself is which cluster type? (d) a) LDS b) RRDS c) ESDS d) KSDS e) None

(e)

47) Which of the following requires a DELETE/DEFINE before the command can be used to restore an existing data set? (a) a) REPRO only b) IMPORT only c) Both REPRO and IMPORT d) Neither REPRO nor IMPORT

You might also like