mainframe Online Quiz - 71

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

Maximum number of partitioned datasets that can be concatenated

  1. 16

  2. 255

  3. 289

  4. 75

Correct Option: A

How do you access a file that had a disposition of KEEP?

  1. Need to supply volume serial no. VOL=SER=xxxx

  2. No need of volume serial no

  3. Cannot access the file

  4. None

Correct Option: A

What will happen if we try to create GDG (+2) generaton instead of (+1) generation, when GDG(0) is ***.G0001V00?

  1. ***.G0003V00

  2. ***.G0002V00

  3. gives error

  4. none

Correct Option: A

We can code instream data in a PROC.

  1. True

  2. False

Correct Option: B

What does TIME=1440 mean ?

  1. no CPU time limit is to be applied to this step

  2. CPU time limit is 1440

  3. Cannot code like that in JCL

  4. None

Correct Option: A
  1. Contains documentation information only

  2. Identifies the program to be run

  3. Identifies data sets to be used during the job

  4. Identifies the job name and specifies accounting information

Correct Option: D

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)

Correct Option: B,D

Which of the following errors are possible within a COBOL if statement?

  1. Infinite loop

  2. logical error

  3. runtime error

  4. All of the above

Correct Option: D

You store it as YYYYMMDD in 8 bytes. What is the COBOL definition of this field?

  1. Pic Y(4)M(2)D(2)

  2. Pic date(yyyymmdd)

  3. Pic date(8)

  4. Pic X(8)

Correct Option: D

Which of the following words is NOT a COBOL reserved word?


  2. INDEX


  4. FILE

Correct Option: C

Which of the following words can NOT be used to perform calculations in a COBOL program




  4. ADD

Correct Option: A

When is a scope terminator mandatory?

  1. in-line PERFORMS


  3. IF

  4. all

Correct Option: A,B

How many file open modes are there?

  1. 2

  2. 3

  3. 4

  4. 5

Correct Option: C

A space is required after the comma in the table reference. i.e. A(I, J). If the space is not present,

  1. compilation error

  2. no error

  3. depends on compiler

  4. none

Correct Option: C

What else can we code instead of STOP RUN in a stand-alone COBOL program to have the same functionality


  2. GO BACK

  3. STOP

  4. EXIT

Correct Option: B
- Hide questions