0

mainframe Online Quiz - 71

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

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

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
  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
  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?

  1. RECORD

  2. INDEX

  3. VARIABLE

  4. FILE


Correct Option: C

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

  1. ASSIGN

  2. DIVIDE

  3. MULTIPLY

  4. ADD


Correct Option: A

When is a scope terminator mandatory?

  1. in-line PERFORMS

  2. EVALUATE

  3. IF

  4. all


Correct Option: A,B
- Hide questions