Tag: mainframe

Questions Related to mainframe

What is the use of PROCEDURE instruction?

  1. Subroutine should start with this instruction

  2. To convert all the local variables in the subroutine as global variables

  3. To convert all the variables used in subroutine as local variables

  4. Function should start with this instrucion


Correct Option: A
  1. W1 = To be W2 = or Not to be

  2. W1 = To W2 = be, or Not to be

  3. W1 = TO BE W2 = OR NOT TO BE

  4. none of the above


Correct Option: A

COMP-3 variables are expanded when browsing through record layout?

  1. True

  2. False


Correct Option: B

Option 3.5 is meant for

  1. VSAM Utility

  2. Dataset Utility

  3. Copy Utility

  4. Interactive Utility


Correct Option: A
  1. VSAM File

  2. Sequential file

  3. Sequential and VSAM

  4. None


Correct Option: C
  1. VFMT

  2. FMT

  3. UNFMT

  4. All of the above


Correct Option: D
  1. VFMT & FMT

  2. Char & UNFMT

  3. Char

  4. UNFMT


Correct Option: A

Different types of selection criteria for viewing the records:

  1. FORMATED

  2. UNFORMATED

  3. Both a & b

  4. None of the above


Correct Option: C