Mainframe File-Aid and REXX Programming Quiz
Covers File-Aid utility commands, file management options, VSAM operations, and REXX programming instructions for mainframe developers
Questions
Which instruction is used to control the environment to which commands are passed?
- LIBDEF
- ALLOC
- EXECIO
- ADDRESS
Which ISPEXEC statement is used to retrieve values from ISPF profile?
- ISPFGET
- VGET
- PULL
- VPUT
Which instruction is used to transfer the control to a subroutine?
- INTERPRET
- ITERATE
- CALL
- LEAVE
data = ‘DO 3; SAY “HELLO THERE!”;END’ _____ data;. Complete the above code. So that it prints “Hello there!” thrice.
- EXECUTE
- INTERPRET
- RUN
- CALL
What is the use of PROCEDURE instruction?
- Subroutine should start with this instruction
- To convert all the local variables in the subroutine as global variables
- To convert all the variables used in subroutine as local variables
- Function should start with this instrucion
" What will be value in W1 and W2 after the execution of command PARSE VALUE ‘To be, or Not to be’ WITH w1 ',' w2 "
- W1 = To be W2 = or Not to be
- W1 = To W2 = be, or Not to be
- W1 = TO BE W2 = OR NOT TO BE
- none of the above
Command used to freeze a particular field
- HOLD
- FREEZE
- DISPLAY
- BLOCK
COMP-3 variables are expanded when browsing through record layout?
- True
- False
Option 3.5 is meant for
- VSAM Utility
- Dataset Utility
- Copy Utility
- Interactive Utility
File aid is used to browse?
- VSAM File
- Sequential file
- Sequential and VSAM
- None
Different formats of accessing files
- VFMT
- FMT
- UNFMT
- All of the above
VSAM files can be created through file aid?
- True
- False
For which format “Record Layout” needed?
- VFMT & FMT
- Char & UNFMT
- Char
- UNFMT
Different types of selection criteria for viewing the records:
- FORMATED
- UNFORMATED
- Both a & b
- None of the above
Command used to convert browse mode to edit mode
- GO EDIT
- EDIT
- CONVERT
- None of the above
In the VFMT what are the parameters can be viewed
- Position of the field
- Characteristics like alphanumeric or numeric
- Field number
- All of the above
Alternate index can be created through file aid?
- True
- False
Which option is used for the viewing copybook layout?
- Option 1
- Option 3
- Option 8
- Option 10
Comparison of file is possible in file aid?
- True
- False
Masking of members possible in file aid?
- True
- False