Tag: mainframe

Questions Related to mainframe

  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

" What will be value in W1 and W2 after the execution of command PARSE VALUE ‘To be, or Not to be’ WITH w1 ',' w2 "

  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

Command used to freeze a particular field

  1. HOLD

  2. FREEZE

  3. DISPLAY

  4. BLOCK


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

File aid is used to browse?

  1. VSAM File

  2. Sequential file

  3. Sequential and VSAM

  4. None


Correct Option: C

Different formats of accessing files

  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