0

mainframe Online Quiz - 13

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

In what mode the file should be OPENed to Rewrite/ Delete records in a File?

  1. OUTPUT

  2. EXTEND

  3. I-O

  4. INPUT


Correct Option: C
  1. All the woking staorage variables in ProgramB will be initialized when the Program B execution is completed.

  2. Nothing will happen. It is just coded to indicate the end of CALL statement.

  3. Areas A, B and C will be initialized when the Program B execution is completed.

  4. None of the above


Correct Option: A
  1. The Control will come back to Program A.

  2. The control will NOT come back to Program A and Program B will terminates immediately at the STOP RUN Statement.

  3. Program B abends abnormally.

  4. Infinite Loop


Correct Option: B

What abend will be hit when a COBOL program is trying to move Alphabetic Data into Numeric fields?

  1. S0C1

  2. S0C4

  3. S0C7

  4. S0CB


Correct Option: C
  1. Yes, Always Possible

  2. Yes, Only when the COBOL program contains CICS and Batch common verbs/statements

  3. No. Never Possible

  4. None of the above


Correct Option: B
  1. Abend with S806

  2. Abend with U4095

  3. Abend with U4038

  4. Abend with S322


Correct Option: C
  1. 0

  2. +1

  3. -1

  4. None of the Above


Correct Option: B

What is the DD statement for a output file?

  1. Code the DSN as PDS (member) with a DISP = OLD

  2. Code the DSN as PDS (member) with a DISP = SHR

  3. Code the DSN as PDS (member) with a DISP = NEW

  4. Code the DSN as PDS (member) with a DISP = MOD


Correct Option: C
  1. a) Indicates a space abend

  2. b) Indicates a regione abend

  3. c) Indicates a time out abend

  4. d) a and c


Correct Option: C
- Hide questions