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.
Questions
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
- START
- RUN
- EXEC
- GO
How can unused space allocation be returned to the system when a dataset is closed
- RETURN
- RLSE
- CONTIG
- CLOSE
Can an individual step be restricted from using all the job’s allowed CPU time
- True
- False
Where can program checkpoints be stored for use in a restart
- CHCKPOINT DD statement
- SYSCHK DD statement
- CHKOUT DD statement
- CHECK or DD statement
How can the disposition of sysout datasets be set for an entire jobstream
- SYSOUT parameter
- OUTPUT parameter
- DEFAULT parameter
- DEST keyword
What statement marks the end of an in-stream or Catalogued procedure
- STREAM
- SET
- PROC
- PEND
What is the function of DD name parameter with a 2 part structure; Audit.Report
- Override the Audit DD statement in the report
- Override the Report DD statement in the Audit procedure
- Concatenate a dataset onto a DD statement in a called module
- Delete the Audit DD statement in the Report
Which DD parameters are required
- All parameters & Keywords are optional
- Dsname, SPACE, RECFM
- Dsname, SPACE, UNIT
- Dsname, DISP, SPACE
How can values be passed from the job stream to an executable program?
- Through the PARM keyword
- Through the VALUE parameter
- Through the PGM parameter
- All of the above
What is the function of the STEPLIB DD statement?
- Identify a library to be searched for programs named in the EXEC statement
- Identify a library containing executable job steps
- Override the system step library within a job stream
- All of the above
A DD statement consists of 4 fields. Name them :-
- Name, DD, Space, Device
- Format, Name, DD, Space
- DD, parameter, device, format
- Name, DD, parameter, comments
What is the purpose of DD DUMMY statement ?
- Marks a deleted DD statement
- Begins an interpreted command stream
- Specifies no space allocation & no disposition processing
- Suppress command processing
How can an in-stream dataset be terminated ?
- //
- //*
- /*
- None of the above
How can unused space allocation be returned to the system when a dataset is closed ?
- RETURN
- RLSE
- CONTIG
- CLOSE
What is the function of JOB statement ?
- Marks the end of a job
- Marks the beginning of an instream procedure
- Marks the beginning of a job & assigns a name to the job
- Assigns an execution priority to a job
A DD statement has 2 types of parameters. Name them ?
- Positional, Keyword
- Keyword, Control
- Dynamic, Static
- Named, Dynamic
What is the function of DD DISP paramater ?
- Tells the system what to do with the dataset following normal termination of the step.
- Describes the status of the dataset
- Tells the system what to do with the dataset following abnormal termination of the step.
- All of the above
What is the maximum length of a single line of JCL ?
- 71 bytes
- 72 bytes
- 68 bytes
- 70 bytes
Whats virtual storage in MVS?
- An addressing scheme that allows external disk storage to appear as main storage.
- Each running program can assume it has access to all of the storage defined by the architecture's addressing scheme.
- a and b
- a or b
Identify which one is the first ibm family mainfframe processors released in an attempt to standardise mainframe?
- OS/340
- 0S/350
- 0S/360
- 0S/370