0

mainframe Online Quiz - 139

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

What does the INITIALIZE verb do?

  1. Alphabetic, Alphanumeric fields & alphanumeric edited items are set to SPACES

  2. Numeric, Numeric edited items set to ZERO.

  3. FILLER , OCCURS DEPENDING ON items left untouched.

  4. All the Above.


Correct Option: D
  1. Scans JCL for errors.

  2. Invalid Syntax

  3. Scans for previous executing jobs

  4. Does nothing!


Correct Option: A
  1. What's the problem is browsing it? Only editing is not possible.

  2. Security Violation / Access Denied.

  3. Cant browse a latest GDG tape version.

  4. Cant browse a latest GDG tape version, but can browse own datasets.


Correct Option: C
  1. Replace the copybook with another.

  2. The option is invalid with copy statement.

  3. It allows for the same copy to be used more than once in the same code by changing the replace value.

  4. Has no impact.


Correct Option: C

How can I delete a record from an ESDS file?

  1. Just go with normal delete process it will go fine.

  2. Can delete only if the record is obtained by a random read.

  3. Are you nuts? How can you delete a record from a ESDS file?

  4. Using SORT utility


Correct Option: C
  1. Occurs clause in 01 cant be done because 01 is the top most level.

  2. Who said so, you can use it, I bet!

  3. Occurs clause is there to repeat fields with same format, not the records.

  4. Stack will over flow.


Correct Option: C
  1. Does Nothing!

  2. Terminates the program.

  3. Terminates the paragraph.

  4. Terminates the loop.


Correct Option: A
  1. Unlimited

  2. 255

  3. 125

  4. Limited to business requirement


Correct Option: B

What if you code GO BACK instead of STOP RUN in a independent COBOL program

  1. What's the problem in it? Will go fine!

  2. Program goes in infinite loop.

  3. Program will not execute.

  4. Compiler throws error.


Correct Option: B

How do you define COMP-1 / COMP-2?

  1. DEFINE WS-VAR PIC(9) COMP-1

  2. 01 WS-VAR PIC(9) COMP-1

  3. 01 WS-VAR USAGE COMP-1

  4. Author should learn COBOL


Correct Option: C
  1. ALPHABETIC, ALPHANUMERIC

  2. ALPHABETIC, ALPHANUMERIC, NUMERIC

  3. ALPHABETIC, NUMERIC

  4. ALPHANUMERIC, NUMERIC


Correct Option: A

REDEFINE X(250) by X(245) - Is it possible

  1. Yes

  2. No

  3. X(245) can be refined to X(250)

  4. Author should learn COBOL


Correct Option: A

Modes to OPEN a file for writing :

  1. INPUT

  2. I-O, OUTPUT

  3. I-O, OUTPUT, EXTEND

  4. OUTPUT, EXTEND


Correct Option: D
  1. Unlimited

  2. 16777215

  3. Limited to DASD

  4. Author should learn COBOL


Correct Option: B
  1. How can u store a sign in COMP?huh!

  2. You can store sign only in COMP-3

  3. Most significant bit

  4. Most significant byte


Correct Option: C

Space allocated by OS when PS or PDS is created?

  1. User Defined KB.

  2. Unlimited KB.

  3. Limited to DASD

  4. 56 KB


Correct Option: D

Formula for calculating bytes required for COMP-3 variable

  1. N/2 + 1

  2. N^2 + 1

  3. N+1/2

  4. (N/2)^2


Correct Option: A

When you pass a table via LINKAGE, which of the following makes you a good programmer?

  1. Subscript

  2. Index

  3. Either

  4. Author should learn COBOL


Correct Option: D
  1. 1440 Minutes

  2. 248 Days

  3. Forever

  4. Till Mainframe server is down


Correct Option: B
- Hide questions