Mainframe File-Aid and REXX Programming Quiz

Covers File-Aid utility commands, file management options, VSAM operations, and REXX programming instructions for mainframe developers

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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

  1. LIBDEF
  2. ALLOC
  3. EXECIO
  4. ADDRESS
Question 2 Multiple Choice (Single Answer)

Which ISPEXEC statement is used to retrieve values from ISPF profile?

  1. ISPFGET
  2. VGET
  3. PULL
  4. VPUT
Question 3 Multiple Choice (Single Answer)

Which instruction is used to transfer the control to a subroutine?

  1. INTERPRET
  2. ITERATE
  3. CALL
  4. LEAVE
Question 4 Multiple Choice (Single Answer)

data = ‘DO 3; SAY “HELLO THERE!”;END’ _____ data;. Complete the above code. So that it prints “Hello there!” thrice.

  1. EXECUTE
  2. INTERPRET
  3. RUN
  4. CALL
Question 5 Multiple Choice (Single Answer)

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
Question 6 Multiple Choice (Single Answer)

" 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
Question 7 Multiple Choice (Single Answer)

Command used to freeze a particular field

  1. HOLD
  2. FREEZE
  3. DISPLAY
  4. BLOCK
Question 8 True/False

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

  1. True
  2. False
Question 9 Multiple Choice (Single Answer)

Option 3.5 is meant for

  1. VSAM Utility
  2. Dataset Utility
  3. Copy Utility
  4. Interactive Utility
Question 10 Multiple Choice (Single Answer)

File aid is used to browse?

  1. VSAM File
  2. Sequential file
  3. Sequential and VSAM
  4. None
Question 11 Multiple Choice (Single Answer)

Different formats of accessing files

  1. VFMT
  2. FMT
  3. UNFMT
  4. All of the above
Question 12 True/False

VSAM files can be created through file aid?

  1. True
  2. False
Question 13 Multiple Choice (Single Answer)

For which format “Record Layout” needed?

  1. VFMT & FMT
  2. Char & UNFMT
  3. Char
  4. UNFMT
Question 14 Multiple Choice (Single Answer)

Different types of selection criteria for viewing the records:

  1. FORMATED
  2. UNFORMATED
  3. Both a & b
  4. None of the above
Question 15 Multiple Choice (Single Answer)

Command used to convert browse mode to edit mode

  1. GO EDIT
  2. EDIT
  3. CONVERT
  4. None of the above
Question 16 Multiple Choice (Single Answer)

In the VFMT what are the parameters can be viewed

  1. Position of the field
  2. Characteristics like alphanumeric or numeric
  3. Field number
  4. All of the above
Question 17 True/False

Alternate index can be created through file aid?

  1. True
  2. False
Question 18 Multiple Choice (Single Answer)

Which option is used for the viewing copybook layout?

  1. Option 1
  2. Option 3
  3. Option 8
  4. Option 10
Question 19 True/False

Comparison of file is possible in file aid?

  1. True
  2. False
Question 20 True/False

Masking of members possible in file aid?

  1. True
  2. False