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.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is NOT a valid symbol to use in an IF condition

  1. =>
  2. =
  3. =<
  4. >
Question 2 Multiple Choice (Single Answer)

Which is the correct ASCII collating sequence?

  1. spaces, a-z, A-Z, 0-9, special characters
  2. a-z, A-Z, 0-9, spaces, special characters
  3. spaces, special characters, 0-9, A-Z, a-z
  4. 0-9, special characters, spaces, a-z, A-Z
Question 3 Multiple Choice (Single Answer)

The COBOL perform loop is the equivalent of which of the following structures found in other languages, such as Java or C++

  1. For loop
  2. Do-While loop
  3. Method
  4. None of the Above
Question 4 Multiple Choice (Single Answer)

What does X ALL command do

  1. Delete all lines
  2. Include all lines
  3. Exclude all lines
  4. Invalid command
Question 5 Multiple Choice (Multiple Answers)

What are the different kinds of commands to control editing operations?

  1. Line Commands
  2. ISPF Commands
  3. Primary Commands
  4. Secondary Commands
Question 6 Multiple Choice (Single Answer)

How do we issue an Primary Command?

  1. with = symbol before Line command
  2. with :(colon) symbol before Line command
  3. with & symbol before Line command
  4. None of the above
Question 7 Multiple Choice (Single Answer)

Which is not a ISPF Primary Command?

  1. CAPS ON
  2. HIlight COBol
  3. :D2
  4. None of the above
Question 8 True/False

=BNDS> is part of the PROFILE

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

Significance of AUTONUM primary command

  1. Automatically renumbers data whenever it is saved, preserving the modification level record
  2. Automatically renumbers data whenever it is saved
  3. Immediately renumbers data whenever inserted
  4. None of the above
Question 10 Multiple Choice (Single Answer)

:DELete ALL .ZF .ZL will do the following

  1. Deletes all from first line to last line
  2. Delete all characters .ZF and .ZL
  3. Error occurs
  4. Does nothing
Question 11 Multiple Choice (Single Answer)

What happens when we issue CUT command on the command line?

  1. Command Error
  2. Additional parameters are required
  3. Entire data will be cut and stored on clipboard
  4. None of the above
Question 12 Multiple Choice (Single Answer)

What is the command to view the last 25 commands issued from command line?

  1. Get
  2. Display
  3. Retp
  4. Retrieve
Question 13 True/False

Bounds 10 50; is a valid ISPF command?

  1. True
  2. False
Question 14 Multiple Choice (Multiple Answers)

What is the command used to SORT the data?

  1. SORT .A .B A
  2. SORT .ZF .ZL D
  3. SORT D
  4. None of the above
Question 15 True/False

Is SUBMIT an ISPF command?

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

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?

  1. Data will be sorted
  2. Data will not be sorted
  3. Will give error
  4. Nothing happens
Question 17 True/False

It is possible to see another PDS member when you are already viewing the other member in the same PDS.

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

What happens when we append a & symbol before a primary command?

  1. Will give error
  2. Command will be executed and the command will be available on the command prompt
  3. It will take multiple inputs for processing
  4. Invalid
Question 19 Multiple Choice (Multiple Answers)

The following are used to know the changes that are made since last issued save command (while editing a dataset or a PDS member)

  1. Changes .zf .zl
  2. Compare *
  3. Compare Session
  4. FCHANGE
Question 20 True/False

Is it possible to cut and save data on a user-defined clipboard?

  1. True
  2. False