Mainframe Fundamentals: COBOL, JCL, and VSAM

Test your knowledge of mainframe computing fundamentals including COBOL programming, Job Control Language (JCL), VSAM file organization, and essential mainframe utilities.

20 Questions Published

Questions

Question 1 True/False

READ PHYSICAL is less effecient then READ LOGICAL

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

JCL means?

  1. Job Centre Language
  2. Job Control Language
  3. Job Comitte Language
  4. Job Control Limit
Question 3 Multiple Choice (Single Answer)

What is IDMS?

  1. Integrated Data Management System
  2. Integrala Data Maintenance System
  3. Integrated Data Maintenance System
  4. Integral Data Management System
Question 4 Multiple Choice (Multiple Answers)

choose the three different type of vsam files available

  1. esds
  2. ksds
  3. rrds
  4. asds
Question 5 True/False

AMS commands can be run from TSO prompt

  1. True
  2. False
Question 6 True/False

FREESPACE can be specified in ESDS

  1. True
  2. False
Question 7 True/False

file status on 02 on a VSAM dataset indicates duplitcate alternate key.

  1. True
  2. False
Question 8 Multiple Choice (Multiple Answers)

In the context of mainframe, Full form of PDF?

  1. Portable Format Reader
  2. Portable File Reader
  3. Production Development Facility
  4. Program Development Facility
Question 9 Multiple Choice (Single Answer)

Which portion(columns) is called Identification area in cobol?

  1. 01-06
  2. 08-72
  3. 73-80
  4. 07-08
Question 10 Multiple Choice (Single Answer)

Can we MOVE Alphanumeric to numeric edited?

  1. Yes. We can move
  2. Only if the sending field is an unsigned integer.
  3. No. We cannot move
  4. Only if the sending field is signed integer.
Question 11 Multiple Choice (Single Answer)

In PIC zzz9, What does z means?

  1. zero comp digit
  2. zero suppressed digit
  3. zero edited digit
  4. zero packed digit
Question 12 Multiple Choice (Single Answer)

In Which area, the level 77 should be coded?

  1. Area A
  2. Area B
  3. All of the above
  4. None of the above
Question 13 Multiple Choice (Single Answer)

PIC S999 VALUE 5231. What would be the value getting stored in memory?

  1. 523
  2. 231
  3. +523
  4. -523
Question 14 Multiple Choice (Single Answer)

Which is the correct ASCII collating sequence?

  1. spaces,a-z,A-Z,0-9,special characters
  2. a-z,A-Z,0-9,spaces,special characters
  3. 0-9,special characters,spaces,a-z,A-Z
  4. spaces,special characters,0-9,A-Z,a-z
Question 15 Multiple Choice (Single Answer)

The COBOL perform loop is the equivalent of which of the following structures found in other languages such as Java or C++

  1. For loop
  2. Do-While loop
  3. Method
  4. All of the above
  5. None of the above
Question 16 Multiple Choice (Single Answer)

If someone wanted a COBOL perform "loop" to execute once before the condition is checked, which of the following would they do?

  1. use a standard perform statement
  2. use an in line perform
  3. skillful use of the COBOL reserved word "AFTER"
  4. This is not possible in COBOL
Question 17 Multiple Choice (Single Answer)

Not Negative means

  1. Equal to 0
  2. Greater than or equal to 1
  3. Less than or equal to 0
  4. Greater than or equal to 0
Question 18 Multiple Choice (Single Answer)

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

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

Max No of DD statements allowed in a JOB

  1. 3273
  2. 3237
  3. 1024
  4. Nolimit
Question 20 Multiple Choice (Single Answer)

What is the use of IEHPROGM utility?

  1. To maintain and manage catalogs
  2. To compare two datasets at record level
  3. It is a null program
  4. To copy a VSAM dataset to a flat file