0

mainframe Online Quiz - 73

Description: mainframe Online Quiz - 73
Number of Questions: 20
Created by:
Tags: mainframe
Attempted 0/20 Correct 0 Score 0

If a field is defined as Pic s9(6)v99 comp-3, it uses 5 bytes of storage

  1. True

  2. False

  3. Cannot Say

  4. None


Correct Option: A
  1. Pic Y(4)M(2)D(2)

  2. Pic date(yyyymmdd)

  3. Pic date(8)

  4. Pic X(8)


Correct Option: D
  1. Time out abend

  2. Dataset out of space

  3. Caused by invalid data in a numeric field

  4. Storage Violation error


Correct Option: A

//MYJOB JOB(E343),'ABCDEFGH' //JOBLIB DD DSN=ABCD.PROD.LOADLIB,DISP=SHR //STEP1 EXEC PGM=PROG //STEPLIB DD DSN=ABCD.PPROD.LOADLIB,DISP=SHR //STEP2 EXEC PGM=PROG1 //STEPLIB DD DSN=ABCD.TEST.LOADLIB,DISP=SHR ..... ..... In the above code, from which library the loadmodule of PROG1 is executed

  1. ABCD.PROD.LOADLIB

  2. ABCD.PPROD.LOADLIB

  3. ABCD.TEST.LOADLIB

  4. none


Correct Option: C

Which is true?

  1. JOB REGION will override EXEC REGION

  2. EXEC COND will override JOB COND

  3. STEPLIB will override JOBLIB

  4. EXEC TIME will override JOB TIME


Correct Option: A,C,D
  1. default storage; 255M

  2. All available storage

  3. will result in JCL error

  4. none


Correct Option: B
  1. 288 days

  2. 225 days

  3. 248 days

  4. 268 days


Correct Option: C

When we specify V for RECFM parameter, what should we mention for the value of LRECL parameter

  1. Largest record size in the file

  2. Average record size in the file

  3. Largest record size in the file plus 4 bytes

  4. Largest record size in the file plus 2 bytes


Correct Option: C

Maximum number of sequential datasets that can be concatenated

  1. 16

  2. 255

  3. 269

  4. 125


Correct Option: B

COBOL statements should start in a fresh line

  1. True

  2. False

  3. can't say

  4. none


Correct Option: B

which code snippet can be used to iterate an instruction for 6 times? Note: indicates new line

  1. REPEAT 6 TIMES instruction END-REPEAT

  2. MOVE 1 TO COUNTER PERFORM UNTIL COUNTER = 6 COMPUTE COUNTER = COUNTER + 1 instruction END-PERFORM

  3. PERFORM 6 TIMES instruction END-PERFORM

  4. REPEAT VARYING COUNTER FROM 1 BY 1 UNTIL COUNTER = 6 instruction END-PERFORM


Correct Option: C

Which of the following variable names for data items are not syntactically correct?

  1. CIBER-CITY

  2. -NW-OF-FOOD

  3. TOTAL-NO-OF-LINES-PER-PAGE

  4. PHONE NUMBER

  5. INDEX


Correct Option: B,D,E
  1. after each 01 level of a variable declaration

  2. at the end of each instruction

  3. at the end of each paragraph

  4. at the end of the program

  5. to end an IF instruction


Correct Option: A,C,D

Take a look at the following variable declarations. What will be the content of RESULT at the end of the series of MOVE instructions? 01 ELE-1 PIC X(5) VALUE 'ELRI'. 01 ELE-2 PIC X(10). 01 ELE-3 PIC X(2). 01 RES PIC X(5). MOVE 'TABLE' TO RES MOVE ELE-1 TO ELE-2 MOVE ELE-2 TO ELE-3 MOVE ELE-3 TO RES

  1. ELbbb (bbb = 3 blancs)

  2. TABLE

  3. TABEL

  4. ELBLE


Correct Option: A
- Hide questions