Tag: mainframe

Questions Related to mainframe

What is the DLI function code to restart a program ?

  1. XRST

  2. SYNC

  3. FCHK

  4. CCHK


Correct Option: A

What is the last statement in a COBOL-IMS pgm?

  1. STOP RUN

  2. EXIT

  3. STOP

  4. GO BACK


Correct Option: D

WS-COUNT PIC 9 VALUE 1... PERFORM UNTIL WS-COUNT >= 2 DISPLAY WS-COUNT ADD +1 TO WS-COUNTEND-PERFORMWhat will be the output?

  1. 9

  2. 2

  3. 1

  4. 1, 2


Correct Option: C
  1. Always static

  2. Always dynamic

  3. Depends on compiler option

  4. Neither static nor dynamic


Correct Option: C