Tag: mainframe

Questions Related to mainframe

  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
  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
  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
  1. Yes

  2. No

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

  4. Author should learn COBOL


Correct Option: A
  1. INPUT

  2. I-O, OUTPUT

  3. I-O, OUTPUT, EXTEND

  4. OUTPUT, EXTEND


Correct Option: D