Tag: mainframe

Questions Related to mainframe

Performing a SECTION will cause all the paragraphs that are part of the section, to be performed.

  1. True

  2. False


Correct Option: A

In an EVALUATE statement, I Cannot give a complex condition on a when clause?

  1. True

  2. False


Correct Option: B

COMP is a binary storage format while COMP-3 is packed decimal format.

  1. True

  2. False


Correct Option: A
  1. 9999999

  2. 999999999

  3. 99999999

  4. 9999999999999999


Correct Option: C

When output dataset space is required, what quantity categories are used ?

  1. Primary, Secondary, Directory

  2. Address, Units, CONTIG or ALS

  3. Displacement and length

  4. Megabytes, Kilobytes and Bytes


Correct Option: A
  1. describe independent elementary items in the Working-Storage section

  2. give condition names to the values that a field contain

  3. describe both elementary and group items

  4. none of the above


Correct Option: B
  1. to get rid of GO TO statements

  2. visibility and ease of understanding

  3. easy to debug the programs

  4. all the above


Correct Option: D
  1. Identification Division.

  2. Program-ID.

  3. Program-name.

  4. All the above


Correct Option: D