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

A COBOL Program (Program A) calls Program B. What will happen, If STOP RUN is issued at the end of Program B?

  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

Can we execute a COBOL program both from an Online Program (CICS) and Batch Program (JOB)?

  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

How many Bytes will be assigned for a field which is defined with S9(6) COMP usage?

  1. 2

  2. 4

  3. 6

  4. 8


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

Which of the following is not a modal command?

  1. a) IF

  2. b) THEN

  3. c) DO

  4. d) GOTO


Correct Option: D
  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