0

mainframe Online Quiz - 145

Description: mainframe Online Quiz - 145
Number of Questions: 20
Created by:
Tags: mainframe
Attempted 0/20 Correct 0 Score 0
  1. Through the RC keyword

  2. Through the CODE keyword

  3. Through the COND keyword

  4. Through the RETURNCD keyword


Correct Option: C
  1. Overriding or adding procedures

  2. Logically connecting input datasets

  3. Overriding a called PROC dsname

  4. All of the above


Correct Option: B
  1. Through the PARM keyword

  2. Through the VALUE parameter

  3. Through the PGM parameter

  4. All of the above


Correct Option: A
  1. Yes

  2. No

  3. Only for uncataloged datasets

  4. Only for cataloged datasets


Correct Option: C

by which command we switch amoung messages?

  1. CEMT

  2. CEBR

  3. CMSG

  4. CECKI


Correct Option: C
  1. send map() cursor()

  2. cursor()

  3. send ()

  4. none of the above


Correct Option: A
  1. A READ statement is missing in the MAINLINE section after the PERFORM.

  2. MAINLINE must not contain any statements other than the PERFORM statement.

  3. S-EOF-CHECK is not properly initialized prior to the PERFORM statement

  4. The line "SET S-END-OF-FILE TO TRUE" is not a valid statement.

  5. In working storage, an 88 level must be defined for values of S-EOF-CHECK other than 'N' and 'Y'.


Correct Option: C
  1. There should not be a hyphen between PROGRAM and ID.

  2. Line 0100 should be DIVISION-ID.

  3. The compiler shortened the program name to "AM822P11".

  4. Line 0200 should be PROGRAM IDENTIFICATION. AM822P115.

  5. The program name must not contain numbers.


Correct Option: C
  1. 01 PRICE-TABLE. 05 PRICE-GROUP OCCURS 1 TO 100 TIMES ASCENDING KEY IS ITEM-CODE. 10 ITEM-CODE PIC X(7). 10 ITEM-PRICE PIC 99V99.

  2. 01 PRICE-TABLE. 05 PRICE-GROUP OCCURS UP TO 100 TIMES DEPENDING ON WS-ITEM-COUNT ASCENDING KEY IS ITEM-CODE. 10 ITEM-CODE PIC X(7). 10 ITEM-PRICE PIC 99V99.

  3. 01 PRICE-TABLE. 05 PRICE-GROUP OCCURS 1 TO 100 TIMES DEPENDING ON WS-ITEM-COUNT ASCENDING KEY IS ITEM-CODE. 10 ITEM-CODE PIC X(7). 10 ITEM-PRICE PIC 99V99.

  4. 01 PRICE-TABLE. 05 PRICE-GROUP OCCURS UP TO 100 TIMES DEPENDING ON WS-ITEM-COUNT AND KEY ITEM-CODE. 10 ITEM-CODE PIC X(7). 10 ITEM-PRICE PIC 99V99.


Correct Option: C
- Hide questions