0

mainframe Online Quiz - 131

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

To allow DB2 to close a cursor after a commit or a rollback operation, we use the WITH HOLD option of the DECLARE CURSOR statement.

  1. True

  2. False


Correct Option: B
  1. Can contain only one table but rows from different tables are mixed

  2. Can contain only one table but rows from different tables are not mixed

  3. Can contain more than one table but rows from different tables are mixed

  4. None of these


Correct Option: D
  1. Entry will enter the main program and execute it.

  2. Specifies the program entry.

  3. It establishes an alternate entry point into a COBOL called subprogram.

  4. ENTRY is not a COBOL keyword


Correct Option: C
  1. Invalid Syntax

  2. Specifies the end of a called program and returns control to the calling program.

  3. Specifies the end of a called program.

  4. Specifies the end of a calling program.


Correct Option: B

Why do ypu use INVOKE in COBOL?

  1. To creates object instances of a COBOL or Java class or invokes a method defined in a COBOL or Java class

  2. To creates object instances of a COBOL or ORACLE class or invokes a method defined in a COBOL or ORACLE class

  3. To creates object instances of a COBOL or UNIX class or invokes a method defined in a COBOL or UNIX class

  4. Invalid Syntax


Correct Option: A
  1. Loop the program

  2. What is RECURSIVE?

  3. Recursively reenters

  4. Recursively reenters only for CICS program


Correct Option: C
  1. 1 to 99

  2. 1 to 50

  3. 1 to 49

  4. 1 to infinite


Correct Option: C

What do ypu mean by BLOCK CONTAINS 0?

  1. No Blocks

  2. Block size is unlimited

  3. The block size is determined at run time from the DD parameters

  4. The block size is determined at compile time from the DD parameters


Correct Option: C

What is EXPLICIT SCOPE TERMINATOR?

  1. It marks the end of certain Procedure Division statements.

  2. It marks the end of certain looping condition statements.

  3. It marks the end of program.

  4. There is nothing like EXPLICIT SCOPE TERMINATOR in COBOL


Correct Option: A

What are the acceptable types of the COBOL identifiers

  1. Alphanumeric

  2. Numeric

  3. Alphabetic

  4. all the above


Correct Option: D
- Hide questions