Mainframe Technologies: JCL, Natural, and DB2

Questions covering JCL (Job Control Language), Natural programming language, and DB2 database concepts on mainframe systems

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which parameter decides the allocation size for the tablespace

  1. Numpart
  2. SegSize
  3. Both 1 & 2
  4. None of the above
Question 2 Multiple Choice (Single Answer)

________is a collection of direct access volumes all of the same device type.

  1. Storage Group
  2. Database
  3. Synonym
  4. view
Question 3 Multiple Choice (Single Answer)

________means another name for the table, but is private to the user who created it.

  1. Aliases
  2. Synonym
  3. Both 1 & 2
  4. None of the above
Question 4 Multiple Choice (Single Answer)

Opens all tablespaces and acquires all tablespace locks when the plan is allocated

  1. ACQUIRE(USE)
  2. ACQUIRE(ALLOCATE)
  3. RELEASE(COMMIT)
  4. RELEASE(DEALLOCATE)
Question 5 Multiple Choice (Single Answer)

__________utility gathers information about data in tablespaces, indexes and updates DB2 catalog

  1. MERGE
  2. COPY
  3. REORG
  4. RUNSTATS
Question 6 Multiple Choice (Single Answer)

If a transaction successfully updates a record, it is imperative that it has an ________ on it

  1. Exclusive
  2. Shared
  3. Update
  4. None
Question 7 Multiple Choice (Single Answer)

If a table is dropped, the space for that table can be reclaimed with minimum reorg in

  1. Simple Tablespace
  2. Partitioned Tablespace
  3. Complex Tablespace
  4. Segmented Tablespace
Question 8 True/False

In Partitioned Tablespace, individual partitions cannot be independently recovered and reorganized

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

DB2 Security is provided internal to DB2 using the

  1. Data Definition Language
  2. Data Manipulation Language
  3. Data Confusion Language
  4. Data Control Language
Question 10 True/False

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.

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

Packed numeric, 7 positions before and 2 after decimal point and 1 sign position

  1. P7.2
  2. N7.2
  3. S7.2
  4. 7.2
Question 12 Multiple Choice (Single Answer)

Command used to catch the syntax errors

  1. TEST
  2. CHECK
  3. JCLCHK
  4. EJCL ALL
Question 13 True/False

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

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

What the EXAMINE command will do

  1. to scan a field for a specific value and replace it, and/ or to count how often it occurs
  2. the first occurrence or all occurrences of the string may be replaced, deleted or counted
  3. a & b
  4. NONE
Question 15 Multiple Choice (Single Answer)

What is name of the debug tool for natural programs

  1. DEBUG
  2. TEST
  3. CHECK
  4. XPEDITOR
Question 16 Multiple Choice (Single Answer)

Which parameter will be used to stop the execution of a step(which resides in the proc) in JCL.

  1. COND.STEPNAME=(GE,0)
  2. COND.STEPNAME=(0,GE)
  3. COND.STEPNAME=(0,LE)
  4. COND.STEPNAME=(LE,0)
Question 17 Multiple Choice (Single Answer)

Which option will be used for spilitting the file using the records count

  1. OUTFIL FILES
  2. OUTREC FILES
  3. A & B
  4. NONE
Question 18 Multiple Choice (Single Answer)

What does abend code S806 signify

  1. Operation Exception
  2. Load module not found
  3. Index exceeds the size of the table
  4. COBOL sort failed
Question 19 Multiple Choice (Single Answer)

Which parameter is used to call the jcl from another jcl

  1. JCLCAL
  2. INTRDR
  3. JCLCALL
  4. NONE
Question 20 Multiple Choice (Single Answer)

What does AVGREC parameter will do

  1. to specify the size of the file in terms of cylinders or tracks
  2. to specify the size of a new dataset in terms of the number of records
  3. to specify the size of the file in terms of bytes
  4. None