Mainframe Systems: JCL, COBOL, DB2, and VSAM
Test your knowledge of mainframe computing including JCL job control, COBOL programming, DB2 database management, and VSAM file handling
Questions
Which of the following are the lock types?
- shared
- update
- exclusive
- All of the above
Which VSAM file status code indicates that you are tring to open a VSAM file that is not present?
- 05
- 41
- 35
- 91
What does a VSAM file status code '10' indicate?
- successful completion
- Record or file not found
- End of file reached
- dupliacate key
When you try to open a VSAM file, which of the following status codes are acceptable?
- 00
- 92
- 07
- 97
File status code 86 indicates 'VSAM - MISSING DD STATEMENT IN JCL'. True or false?
- True
- False
An Index can be defined if the table size is less than 10 PAGES
- True
- False
What is the maximum number of tables that can be stored on a Partitioned Table Space?
- 1
- 2
- 3
- 4
The best locksize that you could use when you create a tablespace is ANY.
- True
- False
SQLCABC contains value of SQLCA.
- True
- False
CPU processing is more important for DB2 system performance.
- True
- False
DECLARE CURSOR is executable.
- True
- False
88 level used for
- condition names
- RENAMES clause
- All the above
- None
77 level used for
- Elementary level item
- condition names
- RENAMES clause.
- All the above
level 66 used for
- Elementary level item
- Condition names.
- RENAMES clause
- All the above
SEARCH command used for
- binary search & the table must be sorted
- serial search
- binary search
- All the above
To restart a PROC from a particular step, we need to specify RESTART=PROCSTEP.STEPNAME in the Job CARD. where PROCSTEP = name of the JCL step that invoked the PROC and STEPNAME = name of the PROC step where you want execution to start.
- True
- False
If we specify COND=ONLY in a step. This means that particular step is executed only of any of the previous steps, terminated abnormally.
- True
- False
TYPERUN=JSCAN in the JOB card is used to check the syntax of the JCL without running it.
- True
- False
The JOB, EXEC,DD and IF () ENDIF are the Job Control statements.
- True
- False
DISP=MOD is used when the dataset can be extended.
- True
- False