COBOL and Mainframe Programming

Test your knowledge of COBOL programming fundamentals, CICS debugging, DB2 operations, and mainframe system concepts

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

CICS Abend caused when alphanumeric string is moved to numeric data Item

  1. ASRA
  2. AICA
  3. AEY9
  4. ANUM
Question 2 Multiple Choice (Single Answer)

The COBOL Program's section which is part of a called program that 'links' or maps to data items in the calling program's working storage

  1. STORAGE
  2. DATA
  3. MAP
  4. LINKAGE
Question 3 Multiple Choice (Single Answer)

A DB2 process that builds an access path to DB2 tables

  1. COMPILE
  2. BIND
  3. TRANSLATE
  4. LINK
Question 4 Multiple Choice (Single Answer)

This describes the type and location of data sets on the volume

  1. VTOC
  2. VOTC
  3. COTV
  4. COVT
Question 5 Multiple Choice (Single Answer)

The execute diagnostic facility that can be used for debugging CICS programs

  1. CEDA
  2. CESN
  3. CEDF
  4. CEBR
Question 6 Multiple Choice (Single Answer)

Name the divisions in COBOL program?

  1. Identification, Environment, Working Storage, Procedure.
  2. Identification, Environment, Data, Procedure.
  3. Identification, Environment, Data, Linkage.
  4. Identification, File section, Environment, Procedure.
Question 7 Multiple Choice (Single Answer)

What is not the component of a COBOL program?

  1. Section
  2. Paragraph
  3. Modules
  4. Division
Question 8 Multiple Choice (Single Answer)

Level used for Rename is

  1. 77
  2. 88
  3. 66
  4. 99
Question 9 Multiple Choice (Single Answer)

Level used for condition is

  1. 77
  2. 88
  3. 99
  4. 66
Question 10 Multiple Choice (Single Answer)

What is the difference between 01 & 77 levels?

  1. 77- Describe Elementary item, 01- Describe elementary and group items
  2. 01- Describe Elementary item, 77- Describe elementary and group items
  3. 77- Describe group item, 01- Describe elementary and group items
  4. 77- Describe conditional item, 01- Describe rename items
Question 11 True/False

Can I redefine an X(100) field with a field of X(200)?

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

Which is not a figurative constant below:

  1. Zero
  2. Zeroes
  3. Zeros
  4. 0
Question 13 True/False

Are PIC 9.99 and PIC 9V99 similar?

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

What is the PIC representation for +123.876?

  1. PIC S9(3).999
  2. PIC 9(3).999
  3. PIC S9(3)V999
  4. PIC 9(3)V999
Question 15 Multiple Choice (Single Answer)

Numeric values can have a maximum of X digits, what is X?

  1. 8
  2. 9
  3. 18
  4. 19
Question 16 Multiple Choice (Single Answer)

“SELECT FILE-1 ASSIGN TO INFILE”, in this statement what is the logical and physical file name?

  1. Logical- FILE-1, Physical- INFILE
  2. Logical- INFILE, Physical- FILE-1
  3. Logical- None, Physical-ASSIGN
  4. None of them
Question 17 True/False

Can Redefine & occur clause coded in the same level?

  1. True
  2. False
Question 18 True/False

Column 8 is in area A

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

Which column is used to provide comments in a COBOL program?

  1. 3
  2. 7
  3. 9
  4. 19
Question 20 Multiple Choice (Single Answer)

Linkage section is present in which division?

  1. Identification
  2. Procedure
  3. Data
  4. Environment