Tag: mainframe

Questions Related to mainframe

NEXT SENTENCE & CONTINUE

  1. Gives control to the verb following the next period & gives control to the next verb after the explicit scope terminator.

  2. Gives control to the next verb after the explicit scope terminator & gives control to the verb following the next period.

  3. Both are same.

  4. Control goes to the next paragraph & control goes to next section


Correct Option: A
  1. The DS name and DISP

  2. Volume Serial Number

  3. SPACE & LRECL

  4. LRECL


Correct Option: B

01 WS-N PIC 9(2) VALUE ZERO.A-PARA MOVE 5 TO WS-N. PERFORM B-PARA WS-N TIMES. B-PARA. MOVE 10 TP WS-N. How many times will B-PARA be executed ?

  1. Bad coding. The loop will not be executed.

  2. 5 times.

  3. 10 times.

  4. 15 times.


Correct Option: B
  1. Link option is AMODE=24 and RMODE=ANY. Compile option should have SIZE(MAX).

  2. Link option is AMODE=31 and RMODE=31. Compile option should not have SIZE(MAX).

  3. Link option is AMODE=24 and RMODE=24. Compile option should not have SIZE(MAX).

  4. Link option is AMODE=31 and RMODE=ANY. Compile option should not have SIZE(MAX).


Correct Option: D

How do u skip the particular step in a proc/JCL?

  1. COND codes

  2. IF statement

  3. both

  4. Non of These


Correct Option: C

how many times Para1 will execute in the below code? 01 ws-var pc 9(1) perform para1 varying ws-var from 1 by 1 until ws-var>10

  1. 10

  2. 11

  3. 9

  4. infinite Loop


Correct Option: D
  1. Give CUT SESSION on the command line

  2. Give COMPARE SESSION on the command line

  3. Give LOOK SESSION on the command line

  4. Give FIND SESSION on the command line


Correct Option: B