Mainframe Systems: JCL, VSAM, and System Error Codes

Comprehensive quiz covering mainframe Job Control Language (JCL), Virtual Storage Access Method (VSAM), Job Entry System (JES), and IBM system abend/error codes

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

A BUFFER LENGTH OF 0 WAS SPECIFIED FOR A BDAM DATASET FOR WHICH DYNAMIC BUFFERING WAS REQUESTED.

  1. S013 - 10
  2. S013 - 08
  3. S013 - 0C
  4. None of these
Question 2 Multiple Choice (Single Answer)

A SEQUENTIAL OR DIRECT DATASET WAS OPENED FOR INPUT,BUT THE BUFFER CONTROL BLOCK ADDRESS WAS 0.

  1. S013 - 34
  2. S013 - 38
  3. S013 - 3C
  4. S013 - 40
Question 3 Multiple Choice (Single Answer)

AN INVALID RECORD FORMAT OF FBS OR FS WAS SPECIFIED FOR A PARTITIONED DATA SET.

  1. S013 - C4
  2. S013 - C8
  3. S013 - CC
  4. S013 - D0
Question 4 Multiple Choice (Single Answer)

AN UNAUTHORIZED PROGRAM REQUESTED A RESTRICTED SVC.

  1. S047
  2. S04B
  3. S04E
  4. S052
Question 5 Multiple Choice (Multiple Answers)

Advantages of VSAM:

  1. Sequential read is possible
  2. Free space in a VSAM File is reclaimed automatically
  3. VSAM Files are device and O/S independent
  4. None of the above
Question 6 Multiple Choice (Single Answer)

KSDS file is loaded

  1. Sequentially with descending order of the key
  2. Sequentially with ascending order of the key
  3. Randomly with descending order of the key
  4. Randomly with ascending order of the key
Question 7 Multiple Choice (Single Answer)

Default size of Control Interval (CI) for KSDS file

  1. 4094 Bytes
  2. 4096 Bytes
  3. 4095 Bytes
  4. 4092 Bytes
Question 8 Multiple Choice (Single Answer)

what is the meaning of KEYS(20 10)?

  1. The key is 10 bytes long and starts in the 21st byte of the record
  2. The key is 10 bytes long and starts in the 20th byte of the record.
  3. The key is 20 bytes long and starts in the 10th byte of the record.
  4. The key is 20 bytes long and starts in the 11th byte of the record
Question 9 Multiple Choice (Single Answer)

BUFNI and BUFND

  1. As a part of Listcat, used to calculate the recommended number of Index or Data buffers for a given operation, i.e., sequential, random, etc
  2. To tell VSAM the parameters for Batch Update Function - Indexed (KSDS) or Batch Update Function - Data (ESDS) processing
  3. To tell VSAM to use the default number of index and data component buffers
  4. To allocate the number of index and data component buffers used
Question 10 Multiple Choice (Single Answer)

The range of value for KEYS

  1. 1 to 255
  2. 1 to 4096
  3. 1 to 510
  4. 1 to 4095
Question 11 Multiple Choice (Single Answer)

The record keys in a CI are 50, 200, and 400. The CI is full, and there is NO free space allocated. What will happen when key 300 is added to the data set shown above?

  1. VSAM will return an error message to the program, because the file is out of space
  2. It will be placed in a new CI by itself. This is a CI split.
  3. Record 300 will be placed in the place where 400 was & Record 400 will be moved to a new CI
  4. Either 2 or 3 depending on some contraints
Question 12 Multiple Choice (Single Answer)

How are EXPORT and REPRO files different

  1. EXPORT stores data in a compressed format. REPRO stores data uncompressed.
  2. EXPORT and IMPORT are terms that are part of the REPRO command so there is actually no difference
  3. EXPORT files contain the data and index portion of the data set. REPRO files contain only the data portion
  4. EXPORT files contain all of the data set components, including attributes. REPRO files contain only the data
Question 13 Multiple Choice (Single Answer)

What is the expansion of JCL ?

  1. Job Cal Language
  2. Job Control Language
  3. Jobcal Control Language
  4. None of the above
Question 14 Multiple Choice (Single Answer)

How many fields does JCL has?

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

Name field is optional field. If coded should start at ? and field length ?

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

'EXEC' in JCL specifies ?

  1. None.
  2. Program
  3. Identify cobal Program
  4. Program to be executed
Question 17 Multiple Choice (Single Answer)

A JCL program help in ?

  1. To copy COBAL , ASM code on MVS operation system.
  2. To move COBAL, ASM on MVS operation system.
  3. Running a job on MVS operation system, which is a communicator btw COBAL, ASM or PL/I and OS.
  4. None of the above
Question 18 Multiple Choice (Single Answer)

JES

  1. JOB Entry Sub-System
  2. JOB Entry Syntax
  3. JOB Entry System
  4. None of the above
Question 19 Multiple Choice (Multiple Answers)

types of JES are:

  1. JES1
  2. JES2
  3. JES3
  4. JES4
Question 20 Multiple Choice (Single Answer)

which of the below will result in the maximum level-of-detail information to be spitted out in the Log-Report

  1. MSGLEVEL=(0,1)
  2. MSGLEVEL=(1,0)
  3. MSGLEVEL=(0,0)
  4. MSGLEVEL=(1,1)