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.
TYPERUN=JSCAN in the JOB card is used to check the syntax of the JCL without running it.
The JOB, EXEC,DD and IF () ENDIF are the Job Control statements.
DISP=MOD is used when the dataset can be extended.
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
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
06
12