Tag: mainframe

Questions Related to mainframe

Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND

  1. INDEXED

  2. RELATIVE

  3. SEQUENTIAL

  4. All of the above


Correct Option: D

Which variable will have the value returned by a subroutine once it completes?

  1. RC

  2. RETVAL

  3. RESULT

  4. RV


Correct Option: C

Which instruction is used to control the environment to which commands are passed?

  1. LIBDEF

  2. ALLOC

  3. EXECIO

  4. ADDRESS


Correct Option: D