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
Questions
A BUFFER LENGTH OF 0 WAS SPECIFIED FOR A BDAM DATASET FOR WHICH DYNAMIC BUFFERING WAS REQUESTED.
- S013 - 10
- S013 - 08
- S013 - 0C
- None of these
A SEQUENTIAL OR DIRECT DATASET WAS OPENED FOR INPUT,BUT THE BUFFER CONTROL BLOCK ADDRESS WAS 0.
- S013 - 34
- S013 - 38
- S013 - 3C
- S013 - 40
AN INVALID RECORD FORMAT OF FBS OR FS WAS SPECIFIED FOR A PARTITIONED DATA SET.
- S013 - C4
- S013 - C8
- S013 - CC
- S013 - D0
AN UNAUTHORIZED PROGRAM REQUESTED A RESTRICTED SVC.
- S047
- S04B
- S04E
- S052
Advantages of VSAM:
- Sequential read is possible
- Free space in a VSAM File is reclaimed automatically
- VSAM Files are device and O/S independent
- None of the above
KSDS file is loaded
- Sequentially with descending order of the key
- Sequentially with ascending order of the key
- Randomly with descending order of the key
- Randomly with ascending order of the key
Default size of Control Interval (CI) for KSDS file
- 4094 Bytes
- 4096 Bytes
- 4095 Bytes
- 4092 Bytes
what is the meaning of KEYS(20 10)?
- The key is 10 bytes long and starts in the 21st byte of the record
- The key is 10 bytes long and starts in the 20th byte of the record.
- The key is 20 bytes long and starts in the 10th byte of the record.
- The key is 20 bytes long and starts in the 11th byte of the record
BUFNI and BUFND
- 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
- To tell VSAM the parameters for Batch Update Function - Indexed (KSDS) or Batch Update Function - Data (ESDS) processing
- To tell VSAM to use the default number of index and data component buffers
- To allocate the number of index and data component buffers used
The range of value for KEYS
- 1 to 255
- 1 to 4096
- 1 to 510
- 1 to 4095
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?
- VSAM will return an error message to the program, because the file is out of space
- It will be placed in a new CI by itself. This is a CI split.
- Record 300 will be placed in the place where 400 was & Record 400 will be moved to a new CI
- Either 2 or 3 depending on some contraints
How are EXPORT and REPRO files different
- EXPORT stores data in a compressed format. REPRO stores data uncompressed.
- EXPORT and IMPORT are terms that are part of the REPRO command so there is actually no difference
- EXPORT files contain the data and index portion of the data set. REPRO files contain only the data portion
- EXPORT files contain all of the data set components, including attributes. REPRO files contain only the data
What is the expansion of JCL ?
- Job Cal Language
- Job Control Language
- Jobcal Control Language
- None of the above
How many fields does JCL has?
- 3
- 7
- 5
- 4
Name field is optional field. If coded should start at ? and field length ?
- 3,8
- 2,9
- 2,8
- 3,9
'EXEC' in JCL specifies ?
- None.
- Program
- Identify cobal Program
- Program to be executed
A JCL program help in ?
- To copy COBAL , ASM code on MVS operation system.
- To move COBAL, ASM on MVS operation system.
- Running a job on MVS operation system, which is a communicator btw COBAL, ASM or PL/I and OS.
- None of the above
JES
- JOB Entry Sub-System
- JOB Entry Syntax
- JOB Entry System
- None of the above
types of JES are:
- JES1
- JES2
- JES3
- JES4
which of the below will result in the maximum level-of-detail information to be spitted out in the Log-Report
- MSGLEVEL=(0,1)
- MSGLEVEL=(1,0)
- MSGLEVEL=(0,0)
- MSGLEVEL=(1,1)