mainframe Online Quiz - 38

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

What is SMS

  1. Space management system

  2. Storage Management system

  3. System Management subsystem

  4. None of the above

Correct Option: B

DISP=(NEW,,KEEP) - what will happen if the job goes fine?

  1. CATLG - Dataset will be cataloged

  2. DELETE - Dataset should be deleted

  3. PASS - Dataset might be passed subsequent job step in the same job

  4. KEEP - Dataset will be retained

Correct Option: B

//INFILE DD DSN=&&TEMP,(NEW,PASS,) Here Temp is an temporary dataset which will be

  1. deleted at the end of the job

  2. deleted at the end of the step

  3. deleted when end of file is reached

  4. either 2 or 3

Correct Option: A

If * used with SYSOUT (SYSOUT=*) parameter, then where thw displays, JCL statements and messages will be printed.

  1. Spool

  2. The class assigned to MSGCLASS parameter will be used to SYSOUT.

  3. The class assigned to CLASS parameter will be used to SYSOUT.

  4. None of the above

Correct Option: B

If JCLLIB is not mentioned in the JCL, then in which library it will do a search?





Correct Option: D

which of the following statements cannot be coded within the procedure

  1. DD DATA

  2. JOB

  3. EXEC

  4. DD *

Correct Option: A,B,D

The following portion of procedure division MOVE 0 TO A, I. PARA-1. ADD 3 TO A. ADD 2 TO I. IF I < a=" ‘,">B MOVE A TO C ELSE MOVE B TO C. ADD C TO D. Indicate which one of the following does not support the above statements

  1. The value of A will be added to D only if A is greater than B.

  2. The value of B will be added to D only if B is greater than A.

  3. The larger of the values, A and B will be added to D.

  4. NONE

Correct Option: C

IF NOT AGE LESS THAN 30 AND 40 GO TO PARA-AGE-MIDDLES. The controls will go to the paragraph named PARA-AGE-MIDDLE.

  1. if AGE is greater than or equal to 40.

  2. If AGE is greater than or equal to 30.

  3. If AGE is greater than or equal to 30 but less than 40.

  4. If AGE is less than or equal to 30.

Correct Option: C

Indicate which of the following is true about the 88 level entry.

  1. it is used for individual data item in working-storage section.

  2. It is used for items with rename clause.

  3. It is used for a data item which redefines another data item.

  4. It is used for a condition name which can have either a true or false.

Correct Option: D

IF A = 1 OR 2 OR 3 NEXT SENTENCE ELSE MOVE A TO B. Which of the following describes the above sentence correctly

  1. IF A NOT = 1 OR 2 OR 3 MOVE A TO B.

  2. IF NOT A = 1 AND 2 AND 3 MOVE A TO B.

  3. IF A NOT = 1 AND 2 AND 3 MOVE A TO B.

  4. IF A NOT = 1 OR A NOT = 2 OR A NOT = 3 MOVE A TO B.

Correct Option: C

IF A <> D GO TO P1 ELSE IF NOT (A > B OR B < a="6," b="7," c="5" d="8">

  1. P1

  2. P2

  3. P3


Correct Option: B

Determine the total number of bytes in the following. 01 REC-1. 02 FIRST-GROUP. 03 A1 PIC X(4). 03 A2 PIC 99. 02 REDEFINES FIRST-GROUP. 03 A3 PIC 999. 03 A4 PIC 999. 02 THIRD-GROUP. 03 A5 OCCURS 5 TIMES PIC 99.

  1. 22

  2. 16

  3. 12

  4. 14

Correct Option: B

Determine the bytes 01 REC-1. 01 A PIC X(6). 02 B REDEFINES A. 03 C OCCURS 6 TIMES PIC 9. 02 D OCCURS 4 TIMES. 03 E PIC X(5). 03 F PIC 999

  1. 38

  2. 44

  3. 14

  4. 12

Correct Option: A
  1. Subscripting enables us to write a more compact code in the procedure division.

  2. Subscripting enables us to refer to any element of a table by the same data name with the facility of identifying the particular element through the values of subscript

  3. Subscripting reduces the number of entries to be included in the data division.

  4. Subscripting enables us to use loops in the procedure division.

Correct Option: D

Which of the following are directly controlled by JCL statements:

  1. The passing of job control information to the Job Entry Subsystem

  2. The addressing of input resources

  3. The performance of calculations

  4. The sending of an email to the person who submitted the job

Correct Option: A,B

Which statements concerning the JCLLIB statement are true?

  1. There is either a JCLLIB statement for the entire JOB, or a separate one for each EXEC

  2. A JCLLIB statement can not have a statement name.

  3. There can only be one JCLLIB statement per JOB.

  4. A JCLLIB statement must be coded before the first EXEC statement.

Correct Option: C,D

Which of the following is true:

  1. Under no circumstances must a DD statement precede an EXEC statement.

  2. The OPERATION JOB can be coded in position 4.

  3. An OPERATION can be coded beyond position 72, as long as it starts before position 72.

  4. A JCL OPERATION must be followed and preceded by at least one blank.

Correct Option: D

Which of the following statements are true for parameters coded on the JOB statement: (2 answers)

  1. When TIME is added to a JOB statement, the entire job run time is limited to that amount

  2. When REGION=0 is coded, the job will not execute due to the fact that no working storage

  3. The COND parameter on JOB level will place the same condition on every EXEC statement,

  4. TYPRUN=SCAN means that the entire JCL script will be checked for syntax and value

Correct Option: A,C

Complete correctly: When I want a jobstep to be executed only if the previous jobstep has a return code of strictly less than 8, I should add...

  1. COND=(8,LE)

  2. COND=(8,GE)

  3. COND=(8,LT)

  4. COND=(8,GT)

Correct Option: A

Consider the following: //TU00001T JOB ATUT000,TU00001,CLASS=7,MSGCLASS=X,TIME=(,10) //STEP1 EXEC PGM=PROGRAM1,TIME=(,6) //STEP2 EXEC PGM=PROGRAM2 //STEP3 EXEC PGM=PROGRAM3,TIME=(,15) Which of the following statements are true:

  1. Step 1 can use 6 seconds of CPU time.

  2. Step 2 has no time limitations.

  3. Step 3 can use 15 seconds of CPU time.

  4. Each step is limited to its specifically mentioned time, but the entire job can only use 10

Correct Option: A,D
- Hide questions