Mainframe COBOL and JCL Fundamentals

Test your knowledge of mainframe computing including COBOL programming structure, JCL parameters, dataset management, and IBM utilities like IEBCOMPR.

20 Questions Published

Questions

Question 1 Multiple Choice (Multiple Answers)

What does SYSIN DD statement do

  1. What fields to sort
  2. What format data is in
  3. What order to sort into
  4. What type of sort to use
Question 2 Multiple Choice (Multiple Answers)

While using the IEBCOMPR utility or 3.15 search in ISPF when are 2 datasets considered equal

  1. Corresponding members contain the same number of records
  2. Note lists are in the same position within corresponding members
  3. Corresponding records and keys are identical
  4. Corresponding directory user data fields are identical
Question 3 Multiple Choice (Multiple Answers)

IEBCOMPR should never be used to compare

  1. Load Modules
  2. sequential data sets
  3. partitioned data sets
  4. PDSEs at the logical record level to verify a backup copy 
Question 4 Multiple Choice (Single Answer)

What is the default for the TIME parameter if it is not coded on the EXEC statement?

  1. 30 minutes of the CPU time
  2. 1440 minutes of the CPU time
  3. 1 hour of the CPU time
  4. 2 hours of the CPU time
Question 5 Multiple Choice (Single Answer)

What is the maximum blocksize for a Tape file?

  1. 32760
  2. 32740
  3. 32780
  4. 32720
Question 6 Multiple Choice (Single Answer)

What is the Maximum number of DD Statements to be coded in a single JCL

  1. 3273
  2. 3279
  3. 3270
  4. 3275
Question 7 True/False

Can datasets of a different record length (LRECL) be concatenated?

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

What else can we code instead of STOP RUN in a stand-alone COBOL program to have the same functionality

  1. FINISH
  2. GO BACK
  3. STOP
  4. EXIT
Question 9 Multiple Choice (Multiple Answers)

What does SYSIN DD statement do

  1. What fields to sort
  2. What format data is in
  3. What order to sort into
  4. What type of sort to use
Question 10 Multiple Choice (Multiple Answers)

While using the IEBCOMPR utility or 3.15 search in ISPF when are 2 datasets considered equal

  1. Corresponding members contain the same number of records
  2. Note lists are in the same position within corresponding members
  3. Corresponding records and keys are identical
  4. Corresponding directory user data fields are identical
Question 11 Multiple Choice (Multiple Answers)

IEBCOMPR should never be used to compare

  1. Load Modules
  2. sequential data sets
  3. partitioned data sets
  4. PDSEs at the logical record level to verify a backup copy 
Question 12 Multiple Choice (Single Answer)

What is the default for the TIME parameter if it is not coded on the EXEC statement?

  1. 30 minutes of the CPU time
  2. 1440 minutes of the CPU time
  3. 1 hour of the CPU time
  4. 2 hours of the CPU time
Question 13 Multiple Choice (Single Answer)

What is the maximum blocksize for a Tape file?

  1. 32760
  2. 32740
  3. 32780
  4. 32720
Question 14 Multiple Choice (Single Answer)

What is the Maximum number of DD Statements to be coded in a single JCL

  1. 3273
  2. 3279
  3. 3270
  4. 3275
Question 15 True/False

Can datasets of a different record length (LRECL) be concatenated?

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

What are the Different components of COBOL?

  1. Division
  2. Paragraph
  3. Clause
  4. Character
  5. Program
  6. All the above
Question 17 Multiple Choice (Single Answer)

"Clause" in Cobol means :

  1. Syntactically valid combination of words and clauses
  2. Sequence of one or more statements terminated by period
  3. Words and characters specifying attribute of entry
  4. Syntactically valid combination of words
  5. Sequence of one or more statements terminated by comma
Question 18 Multiple Choice (Single Answer)

The order of cobol components

  1. Identification Division, Environment Division, Data Division, Procedure Division
  2. Identification Division, Procedure Division, Data Division, Environment Division
  3. Environment Division, Data Division, Identification Division, Procedure Division
  4. NONE OF THE ABOVE
  5. ALL OF THE ABOVE
Question 19 Multiple Choice (Single Answer)

LEVEL-66 IS WHICH CLAUSE?

  1. RENAME
  2. REDEFINE
  3. CONDITION NAMES
  4. NONE
  5. ALL
Question 20 Multiple Choice (Single Answer)

"Elementary level item. Cannot be subdivisions of other items, nor can they be subdivided themselves." Which level above sentence is referring to?

  1. 66
  2. 77
  3. 88
  4. NONE
  5. ALL