ISPF Editing Commands and COBOL Basics
Quiz covering IBM mainframe ISPF editor commands including primary commands, line commands, and editing operations, along with basic COBOL programming concepts commonly used on mainframe systems.
Questions
Which of the following is NOT a valid symbol to use in an IF condition
- =>
- =
- =<
- >
Which is the correct ASCII collating sequence?
- spaces, a-z, A-Z, 0-9, special characters
- a-z, A-Z, 0-9, spaces, special characters
- spaces, special characters, 0-9, A-Z, a-z
- 0-9, special characters, spaces, a-z, A-Z
The COBOL perform loop is the equivalent of which of the following structures found in other languages, such as Java or C++
- For loop
- Do-While loop
- Method
- None of the Above
What does X ALL command do
- Delete all lines
- Include all lines
- Exclude all lines
- Invalid command
What are the different kinds of commands to control editing operations?
- Line Commands
- ISPF Commands
- Primary Commands
- Secondary Commands
How do we issue an Primary Command?
- with = symbol before Line command
- with :(colon) symbol before Line command
- with & symbol before Line command
- None of the above
Which is not a ISPF Primary Command?
- CAPS ON
- HIlight COBol
- :D2
- None of the above
=BNDS> is part of the PROFILE
- True
- False
Significance of AUTONUM primary command
- Automatically renumbers data whenever it is saved, preserving the modification level record
- Automatically renumbers data whenever it is saved
- Immediately renumbers data whenever inserted
- None of the above
:DELete ALL .ZF .ZL will do the following
- Deletes all from first line to last line
- Delete all characters .ZF and .ZL
- Error occurs
- Does nothing
What happens when we issue CUT command on the command line?
- Command Error
- Additional parameters are required
- Entire data will be cut and stored on clipboard
- None of the above
What is the command to view the last 25 commands issued from command line?
- Get
- Display
- Retp
- Retrieve
Bounds 10 50; is a valid ISPF command?
- True
- False
What is the command used to SORT the data?
- SORT .A .B A
- SORT .ZF .ZL D
- SORT D
- None of the above
Is SUBMIT an ISPF command?
- True
- False
I have set the Boundaries by giving BOUNDS 10 20. I have to sort the data in the dataset which starts from 1 to 9 columns. I have issued the command SORT .ZF .ZL A. What happens?
- Data will be sorted
- Data will not be sorted
- Will give error
- Nothing happens
It is possible to see another PDS member when you are already viewing the other member in the same PDS.
- True
- False
What happens when we append a & symbol before a primary command?
- Will give error
- Command will be executed and the command will be available on the command prompt
- It will take multiple inputs for processing
- Invalid
The following are used to know the changes that are made since last issued save command (while editing a dataset or a PDS member)
- Changes .zf .zl
- Compare *
- Compare Session
- FCHANGE
Is it possible to cut and save data on a user-defined clipboard?
- True
- False