Mainframe Technologies: JCL, Natural, and DB2
Questions covering JCL (Job Control Language), Natural programming language, and DB2 database concepts on mainframe systems
Questions
Which parameter decides the allocation size for the tablespace
- Numpart
- SegSize
- Both 1 & 2
- None of the above
________is a collection of direct access volumes all of the same device type.
- Storage Group
- Database
- Synonym
- view
________means another name for the table, but is private to the user who created it.
- Aliases
- Synonym
- Both 1 & 2
- None of the above
Opens all tablespaces and acquires all tablespace locks when the plan is allocated
- ACQUIRE(USE)
- ACQUIRE(ALLOCATE)
- RELEASE(COMMIT)
- RELEASE(DEALLOCATE)
__________utility gathers information about data in tablespaces, indexes and updates DB2 catalog
- MERGE
- COPY
- REORG
- RUNSTATS
If a transaction successfully updates a record, it is imperative that it has an ________ on it
- Exclusive
- Shared
- Update
- None
If a table is dropped, the space for that table can be reclaimed with minimum reorg in
- Simple Tablespace
- Partitioned Tablespace
- Complex Tablespace
- Segmented Tablespace
In Partitioned Tablespace, individual partitions cannot be independently recovered and reorganized
- True
- False
DB2 Security is provided internal to DB2 using the
- Data Definition Language
- Data Manipulation Language
- Data Confusion Language
- Data Control Language
DEFINE DATA LOCAL 1 #VAR-1 (A25) END-DEFINE MOVE 'THIS IS MY FIRST PROGRAM' TO #VAR-1 WRITE #VAR-1 END The above statements are correct or not.
- True
- False
Packed numeric, 7 positions before and 2 after decimal point and 1 sign position
- P7.2
- N7.2
- S7.2
- 7.2
Command used to catch the syntax errors
- TEST
- CHECK
- JCLCHK
- EJCL ALL
A list of the last names and salaries of all employees earning at least $40,000 a year. READ EMPLOYEES WITH SALARY STARTING FROM 40000 DISPLAY NAME SALARY END
- True
- False
What the EXAMINE command will do
- to scan a field for a specific value and replace it, and/ or to count how often it occurs
- the first occurrence or all occurrences of the string may be replaced, deleted or counted
- a & b
- NONE
What is name of the debug tool for natural programs
- DEBUG
- TEST
- CHECK
- XPEDITOR
Which parameter will be used to stop the execution of a step(which resides in the proc) in JCL.
- COND.STEPNAME=(GE,0)
- COND.STEPNAME=(0,GE)
- COND.STEPNAME=(0,LE)
- COND.STEPNAME=(LE,0)
Which option will be used for spilitting the file using the records count
- OUTFIL FILES
- OUTREC FILES
- A & B
- NONE
What does abend code S806 signify
- Operation Exception
- Load module not found
- Index exceeds the size of the table
- COBOL sort failed
Which parameter is used to call the jcl from another jcl
- JCLCAL
- INTRDR
- JCLCALL
- NONE
What does AVGREC parameter will do
- to specify the size of the file in terms of cylinders or tracks
- to specify the size of a new dataset in terms of the number of records
- to specify the size of the file in terms of bytes
- None