JCL (Job Control Language) Quiz

Test your knowledge of JCL parameters, DD statements, and IBM mainframe utilities including IEBCOPY, IEBCOMPR, IEBGENER, IEHPROGM, and IEHLIST.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

A DD statement has 2 types of parameters. Name them?

  1. Positional, Keyword
  2. Keyword, Control
  3. Dynamic, Static
  4. Named, Dynamic
  5. None of the above
Question 2 Multiple Choice (Single Answer)

Which of these units are used to allocate space?

  1. Cylinders
  2. Tracks
  3. Blocks
  4. All of the above
  5. None of the above
Question 3 Multiple Choice (Single Answer)

Which of the following is used to copy partitioned datasets?

  1. IEFBR14
  2. IEBCOPY
  3. IEBGENER
  4. IEBCOMPR
  5. None of the above
Question 4 Multiple Choice (Single Answer)

Inorder to not execute a step in the job after a return code of 8 in step1, what the step2 EXEC statement include?

  1. COND = (8,NE)
  2. COND = (8,GE)
  3. COND = (8,EQ)
  4. A & b
  5. B & c
Question 5 Multiple Choice (Single Answer)

What is used to pass data from the JCL to COBOL programs?

  1. PROC
  2. PARM
  3. SYSIN
  4. Instream data
Question 6 Multiple Choice (Single Answer)

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

  1. RLSE
  2. RETURN
  3. CONTIG
  4. CLOSE
Question 7 Multiple Choice (Single Answer)

Which of the following is used to compare sequential files/PDS?

  1. IEFBR14
  2. IEBCOPY
  3. IEBGENER
  4. IEBCOMPR
  5. None of the above
Question 8 Multiple Choice (Single Answer)

What is the purpose of DD DUMMY statement?

  1. Marks a deleted DD statement
  2. Begins an interpreted command stream
  3. Specifies no space allocation & no disposition processing
  4. Suppress command processing
  5. None of the above
Question 9 Multiple Choice (Single Answer)

What is the maximum number of In-stream procedures you can code in any job?

  1. 10
  2. 12
  3. 15
  4. 20
  5. 25
Question 10 Multiple Choice (Single Answer)

Which of the following is true. when both STEPLIB and JOBLIB statements are coded in a program?

  1. JOBLIB statement should precede the EXEC statement.
  2. STEPLIB is coded after the EXEC statement
  3. STEPLIB will override the JOBLIB specification
  4. All of the above
Question 11 Multiple Choice (Single Answer)

What parameter of the job statement is used to limit the CPU time consumed by the job?

  1. RUNTIME
  2. TIME
  3. LIMIT
  4. EXECMAX
Question 12 Multiple Choice (Single Answer)

When output dataset space is required, what quantity categories are used?

  1. Primary, Secondary, Directory
  2. Address, Units, CONTIG or ALS
  3. Displacement and length
  4. Megabytes, Kilobytes and Bytes
  5. None of the above
Question 13 Multiple Choice (Single Answer)

To assign all the available storage for a job or job step, the REGION parameter should be coded as

  1. 0K
  2. 0M
  3. None of the above
  4. a & b
Question 14 Multiple Choice (Single Answer)

Which are the two system utilities that allow you to maintain and manage catalogs ?

  1. IEBGENER , IEBCOPY
  2. IEBCOPY,IEBCOMPR
  3. IEHPROGM,IEBGENER
  4. IEHLIST,IEHPROGM
  5. IEHPROGM,IEBCOPY
Question 15 Multiple Choice (Single Answer)

What parameter directs the output of the job log dataset?

  1. JOBLOG
  2. MSGCLASS
  3. MSGLEVEL
  4. SYSLOG
Question 16 Multiple Choice (Single Answer)

How can a job’s execution priority be modified ?

  1. PRIQTY parameter
  2. PRTY parameter
  3. JOBCLASS parameter
  4. RUNTIME parameter
Question 17 Multiple Choice (Single Answer)

How can the attributes of one SMS dataset be copied to another dataset ?

  1. Using DD like parameter
  2. Using DD Copy parameter
  3. Using DD Refer parameter
  4. Attrubutes cannot be copied within SMS datasets
Question 18 Multiple Choice (Single Answer)

Which is not a valid parameter for TYPRUN?

  1. SCAN
  2. RUN
  3. COPY
  4. None
  5. HOLD
Question 19 Multiple Choice (Single Answer)

Which is not a valid value for RD parameter?

  1. R
  2. RNC
  3. NR
  4. RC
  5. None
Question 20 Multiple Choice (Single Answer)

Which is not a valid keyword parameter for EXEC?

  1. PARM
  2. PERFORM
  3. TIME
  4. ADDRSPC
  5. None