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.
Questions
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
- 03
- 09
- 08
- none of the above
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
- 01
- 4
- 3
- none of the above
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
- 19
- 17
- 9
- 13
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
- 09
- 06
- 12
- none of the above
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,3
- 1,8
- 3,1
- none of the above
When to use DISP=MOD
- For both sequential and partitioned dataset to be extended or created
- Only for existing datasets to be extended
- For all secured sequential dataset to be extended
- Only for sequential datasets to be extended or created
Which parameter cannot be used on JOB statement
- MSGCLASS
- MGMTCLAS
- COND
- NOTIFY
Which of the following equations are correct?
- DISP=(,PASS) is equivalent to DISP=(NEW,PASS,KEEP)
- DISP=(, ,KEEP) is equivalent to DISP=(NEW,DELETE,KEEP)
- DISP=(, ,CATLG) is equivalent to DISP=(OLD,CATLG,CATLG)
- DISP=(OLD, , ) is equivalent to DISP=(OLD,KEEP,KEEP)
Which of the following conditional expression cannot be used with an IF-THEN-ELSE-ENDIF Construction
- STEP.RC NE 8
- ABEND=FALSE
- STEP.CC=U4038
- STEP.RUN EQ TRUE
What is the maximun number of generations that a GDG can have?
- 253
- 254
- 255
- 256
Which IBM utility is used to cretate GDG
- IDCAMS
- SYNCSORT
- INSYNC
- ICAMS
Which statement marks the end of a proc?
- PENT
- PEND
- PROCEND
- /*
Shows the graphical view of jobs flow in the table selected from the given dataset
- G
- P
- M
- S
Displays the calendar of that month with ‘*’ mark on particular day if the job is supposed to run on that day
- G
- M
- P
- S
Under Option 8, by which library we can see the calender definition
- TPD1.IOA.CAL
- TPD.IOA.CAL
- Schedule library for the particular application
- Demand library for the particular application
QWP Means
- Qwest job panel
- Qw Panel
- Qwest schedule Panel
- Qwest Panel
Which dataset shows all the CMEM conditions posted by CTM for a dataset entry
- RSG.CTM.CMEM
- RSG1.CTM.CMEM
- RSG1.CMEM.CTM
- RSG.CMEM.CTM
. How many clustering indexes are allowed for a table?
- Two
- Three
- Four
- One
What is meant by local DB2?
- The DB2 application server in which the application's plan is bound is known as local DB2.
- The DB2 application server in which the application's package is bound is known as local DB2.
- The DB2 application server in which the application's load is bound is known as local DB2.
- None of the Above
Is it good to have a CI(Control Interval) split?
- No, Application program’s performance will be reduced
- Yes, Application program’s performance will be increased
- Not related
- None of the Above