Mainframe Computing: JCL, DB2, and COBOL Fundamentals

Comprehensive quiz covering mainframe technologies including JCL job control, VSAM storage management, DB2 database concepts, Control-M job scheduling, GDG management, and COBOL programming statements.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

INSPECT MY-STRING TALLYING TALLY-COUNT FOR ALL "A". MY-STRING PIC X(17) VALUE "A P J ABDUL KALAM". TALLY-COUNT PIC 9(2) VALUE 05. VALUE IN TALLY-COUNT IS

  1. 03
  2. 09
  3. 08
  4. none of the above
Question 2 Multiple Choice (Single Answer)

INSPECT MY-STRING TALLYING TALLY-COUNT FOR LEADING "A" MY-STRING PIC X(17) VALUE "A P J ABDUL KALAM". TALLY-COUNT PIC 9(1) VALUE ZERO. VALUE IN TALLY-COUNT IS

  1. 01
  2. 4
  3. 3
  4. none of the above
Question 3 Multiple Choice (Single Answer)

INSPECT MY-STRING TALLYING TALLY-COUNT FOR CHARACTERS MY-STRING PIC X(17) VALUE "A P J ABDUL KALAM". TALLY-COUNT PIC 9(2) VALUE IS 02. VALUE IN TALLY-COUNT IS

  1. 19
  2. 17
  3. 9
  4. 13
Question 4 Multiple Choice (Single Answer)

INSPECT MY-STRING TALLYING TALLY-COUNT FOR CHARACTERS BEFORE INITIAL 'L' AFTER INITIAL 'A' MY-STRING PIC X(17) VALUE "A P J ABDUL KALAM". TALLY-COUNT PIC 9(2) VALUE IS ZERO. VALUE IN TALLY-COUNT IS

  1. 09
  2. 06
  3. 12
  4. none of the above
Question 5 Multiple Choice (Single Answer)

INSPECT MY-STRING TALLYING TALLY-1 FOR ALL 'A' BEFORE INITIAL SPACETALLY-2 FOR ALL 'A' AFTER INITIAL SPACEMY-STRING PIC X(17) VALUE "A P J ABDUL KALAM".TALLY-1 PIC 9(1) VALUE IS ZERO.TALLY-2 PIC 9(1) VALUE IS 5.VALUE IN TALLY-1 & TALLY-2 ARE

  1. 1,3
  2. 1,8
  3. 3,1
  4. none of the above
Question 6 Multiple Choice (Single Answer)

When to use DISP=MOD

  1. For both sequential and partitioned dataset to be extended or created
  2. Only for existing datasets to be extended
  3. For all secured sequential dataset to be extended
  4. Only for sequential datasets to be extended or created
Question 7 Multiple Choice (Single Answer)

Which parameter cannot be used on JOB statement

  1. MSGCLASS
  2. MGMTCLAS
  3. COND
  4. NOTIFY
Question 8 Multiple Choice (Multiple Answers)

Which of the following equations are correct?

  1. DISP=(,PASS) is equivalent to DISP=(NEW,PASS,KEEP)
  2. DISP=(, ,KEEP) is equivalent to DISP=(NEW,DELETE,KEEP)
  3. DISP=(, ,CATLG) is equivalent to DISP=(OLD,CATLG,CATLG)
  4. DISP=(OLD, , ) is equivalent to DISP=(OLD,KEEP,KEEP)
Question 9 Multiple Choice (Single Answer)

Which of the following conditional expression cannot be used with an IF-THEN-ELSE-ENDIF Construction

  1. STEP.RC NE 8
  2. ABEND=FALSE
  3. STEP.CC=U4038
  4. STEP.RUN EQ TRUE
Question 10 Multiple Choice (Single Answer)

What is the maximun number of generations that a GDG can have?

  1. 253
  2. 254
  3. 255
  4. 256
Question 11 Multiple Choice (Single Answer)

Which IBM utility is used to cretate GDG

  1. IDCAMS
  2. SYNCSORT
  3. INSYNC
  4. ICAMS
Question 12 Multiple Choice (Single Answer)

Which statement marks the end of a proc?

  1. PENT
  2. PEND
  3. PROCEND
  4. /*
Question 13 Multiple Choice (Single Answer)

Shows the graphical view of jobs flow in the table selected from the given dataset

  1. G
  2. P
  3. M
  4. S
Question 14 Multiple Choice (Single Answer)

Displays the calendar of that month with ‘*’ mark on particular day if the job is supposed to run on that day

  1. G
  2. M
  3. P
  4. S
Question 15 Multiple Choice (Single Answer)

Under Option 8, by which library we can see the calender definition

  1. TPD1.IOA.CAL
  2. TPD.IOA.CAL
  3. Schedule library for the particular application
  4. Demand library for the particular application
Question 16 Multiple Choice (Single Answer)

QWP Means

  1. Qwest job panel
  2. Qw Panel
  3. Qwest schedule Panel
  4. Qwest Panel
Question 17 Multiple Choice (Single Answer)

Which dataset shows all the CMEM conditions posted by CTM for a dataset entry

  1. RSG.CTM.CMEM
  2. RSG1.CTM.CMEM
  3. RSG1.CMEM.CTM
  4. RSG.CMEM.CTM
Question 18 Multiple Choice (Single Answer)

. How many clustering indexes are allowed for a table?

  1. Two
  2. Three
  3. Four
  4. One
Question 19 Multiple Choice (Single Answer)

What is meant by local DB2?

  1. The DB2 application server in which the application's plan is bound is known as local DB2.
  2. The DB2 application server in which the application's package is bound is known as local DB2.
  3. The DB2 application server in which the application's load is bound is known as local DB2.
  4. None of the Above
Question 20 Multiple Choice (Single Answer)

Is it good to have a CI(Control Interval) split?

  1. No, Application program’s performance will be reduced
  2. Yes, Application program’s performance will be increased
  3. Not related
  4. None of the Above