IBM Mainframe JCL (Job Control Language)

Test your knowledge of IBM mainframe JCL statements, parameters, and job management including JOB, EXEC, and DD statements, MVS concepts, and dataset management.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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

  1. START
  2. RUN
  3. EXEC
  4. GO
Question 2 Multiple Choice (Single Answer)

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

  1. RETURN
  2. RLSE
  3. CONTIG
  4. CLOSE
Question 3 True/False

Can an individual step be restricted from using all the job’s allowed CPU time

  1. True
  2. False
Question 4 Multiple Choice (Single Answer)

Where can program checkpoints be stored for use in a restart

  1. CHCKPOINT DD statement
  2. SYSCHK DD statement
  3. CHKOUT DD statement
  4. CHECK or DD statement
Question 5 Multiple Choice (Single Answer)

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
Question 6 Multiple Choice (Single Answer)

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

  1. STREAM
  2. SET
  3. PROC
  4. PEND
Question 7 Multiple Choice (Single Answer)

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

  1. Override the Audit DD statement in the report
  2. Override the Report DD statement in the Audit procedure
  3. Concatenate a dataset onto a DD statement in a called module
  4. Delete the Audit DD statement in the Report
Question 8 Multiple Choice (Single Answer)

Which DD parameters are required

  1. All parameters & Keywords are optional
  2. Dsname, SPACE, RECFM
  3. Dsname, SPACE, UNIT
  4. Dsname, DISP, SPACE
Question 9 Multiple Choice (Single Answer)

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
Question 10 Multiple Choice (Single Answer)

What is the function of the STEPLIB DD statement?

  1. Identify a library to be searched for programs named in the EXEC statement
  2. Identify a library containing executable job steps
  3. Override the system step library within a job stream
  4. All of the above
Question 11 Multiple Choice (Single Answer)

A DD statement consists of 4 fields. Name them :-

  1. Name, DD, Space, Device
  2. Format, Name, DD, Space
  3. DD, parameter, device, format
  4. Name, DD, parameter, comments
Question 12 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
Question 13 Multiple Choice (Single Answer)

How can an in-stream dataset be terminated ?

  1. //
  2. //*
  3. /*
  4. None of the above
Question 14 Multiple Choice (Single Answer)

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

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

What is the function of JOB statement ?

  1. Marks the end of a job
  2. Marks the beginning of an instream procedure
  3. Marks the beginning of a job & assigns a name to the job
  4. Assigns an execution priority to a job
Question 16 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
Question 17 Multiple Choice (Single Answer)

What is the function of DD DISP paramater ?

  1. Tells the system what to do with the dataset following normal termination of the step.
  2. Describes the status of the dataset
  3. Tells the system what to do with the dataset following abnormal termination of the step.
  4. All of the above
Question 18 Multiple Choice (Single Answer)

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

  1. 71 bytes
  2. 72 bytes
  3. 68 bytes
  4. 70 bytes
Question 19 Multiple Choice (Single Answer)

Whats virtual storage in MVS?

  1. An addressing scheme that allows external disk storage to appear as main storage.
  2. Each running program can assume it has access to all of the storage defined by the architecture's addressing scheme.
  3. a and b
  4. a or b
Question 20 Multiple Choice (Single Answer)

Identify which one is the first ibm family mainfframe processors released in an attempt to standardise mainframe?

  1. OS/340
  2. 0S/350
  3. 0S/360
  4. 0S/370