COBOL and Mainframe Programming
Test your knowledge of COBOL programming fundamentals, CICS debugging, DB2 operations, and mainframe system concepts
Questions
CICS Abend caused when alphanumeric string is moved to numeric data Item
- ASRA
- AICA
- AEY9
- ANUM
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
- STORAGE
- DATA
- MAP
- LINKAGE
A DB2 process that builds an access path to DB2 tables
- COMPILE
- BIND
- TRANSLATE
- LINK
This describes the type and location of data sets on the volume
- VTOC
- VOTC
- COTV
- COVT
The execute diagnostic facility that can be used for debugging CICS programs
- CEDA
- CESN
- CEDF
- CEBR
Name the divisions in COBOL program?
- Identification, Environment, Working Storage, Procedure.
- Identification, Environment, Data, Procedure.
- Identification, Environment, Data, Linkage.
- Identification, File section, Environment, Procedure.
What is not the component of a COBOL program?
- Section
- Paragraph
- Modules
- Division
Level used for Rename is
- 77
- 88
- 66
- 99
Level used for condition is
- 77
- 88
- 99
- 66
What is the difference between 01 & 77 levels?
- 77- Describe Elementary item, 01- Describe elementary and group items
- 01- Describe Elementary item, 77- Describe elementary and group items
- 77- Describe group item, 01- Describe elementary and group items
- 77- Describe conditional item, 01- Describe rename items
Can I redefine an X(100) field with a field of X(200)?
- True
- False
Which is not a figurative constant below:
- Zero
- Zeroes
- Zeros
- 0
Are PIC 9.99 and PIC 9V99 similar?
- True
- False
What is the PIC representation for +123.876?
- PIC S9(3).999
- PIC 9(3).999
- PIC S9(3)V999
- PIC 9(3)V999
Numeric values can have a maximum of X digits, what is X?
- 8
- 9
- 18
- 19
“SELECT FILE-1 ASSIGN TO INFILE”, in this statement what is the logical and physical file name?
- Logical- FILE-1, Physical- INFILE
- Logical- INFILE, Physical- FILE-1
- Logical- None, Physical-ASSIGN
- None of them
Can Redefine & occur clause coded in the same level?
- True
- False
Column 8 is in area A
- True
- False
Which column is used to provide comments in a COBOL program?
- 3
- 7
- 9
- 19
Linkage section is present in which division?
- Identification
- Procedure
- Data
- Environment