Mainframe Development Fundamentals - COBOL, JCL, ISPF & DB2

Test your knowledge of core mainframe computing concepts including COBOL programming fundamentals, JCL job control language, ISPF data management utilities, and DB2 SQL programming.

17 Questions Published

Questions

Question 1 True/False

Is compute w=u a valid statement ?

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

The advantages of structured programming are:

  1. to get rid of GO TO statements
  2. visibility and ease of understanding
  3. easy to debug the programs
  4. all the above
Question 3 True/False

OCCURS clause can be used in 01 level.

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

Which of the following are the minimum requirements to compile a program without errors ?

  1. Identification Division.
  2. Program-ID.
  3. Program-name.
  4. All the above
Question 5 True/False

REDEFINES clause can be used along with an OCCURS clause.

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

How many dimensions are allowed for a table?

  1. 4
  2. 5
  3. 6
  4. 7
Question 7 True/False

The order of the WHEN clauses in EVALUATE statement is not significant.

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

How many subscripts or indexes are allowed for an OCCURS clause?

  1. 6
  2. 7
  3. 8
  4. 12
Question 9 True/False

REDEFINES clause can be used in the FILE SECTION.

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

How do you retain a newly created Dataset?

  1. 2Movsave
  2. Mov2save
  3. Copy
  4. Save
  5. XMIT
  6. Savenmov
Question 11 Multiple Choice (Single Answer)

What is the meaning of GDG Generation reference for (+0)

  1. Previous generation
  2. Current Generation
  3. Next Generation
  4. All generations
Question 12 Multiple Choice (Single Answer)

What is the meaning of the SQL Code -811

  1. Multiple Rows
  2. Single Row
  3. No Rows
  4. Null Value
Question 13 Multiple Choice (Single Answer)

What is the file status for end of file operation

  1. 0
  2. 15
  3. 20
  4. 10
Question 14 Multiple Choice (Single Answer)

How many divisions are available in COBOL

  1. 3
  2. 5
  3. 2
  4. 4
Question 15 Multiple Choice (Single Answer)

Which is the Division where you map the logic file name to JCL DD name

  1. Identification Division
  2. Procedure Division
  3. Data Division
  4. Environment Division
Question 16 Multiple Choice (Single Answer)

Which is the parameter used to restart a JOB

  1. RESTART
  2. COND
  3. SPACE
  4. PROC
Question 17 Multiple Choice (Single Answer)

What is the ISPF Option to copy the data from one file another file

  1. 3.2
  2. 3.3
  3. 3.4
  4. 3.12