Mainframe Programming: COBOL, CICS, and JCL

Test your knowledge of mainframe programming concepts including COBOL programming, CICS commands and BMS maps, VSAM files, JCL parameters, and Tandem systems.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

----- resumes a BTS process or activity that has previously been suspended (by means of a SUSPEND command).

  1. LINK
  2. RETRIVE
  3. RESET
  4. RESUME
Question 2 Multiple Choice (Single Answer)

------ starts a non-terminal task immediately in the local CICS® region.

  1. START
  2. START ATTACH
  3. START BREXIT
  4. START CHANNEL
Question 3 Multiple Choice (Single Answer)

What is SYNCPOINT ROLLBACK?

  1. Rollback to first step.
  2. Backout to last syncpoint
  3. Backout to present running syncpoint
  4. None of the above
Question 4 Multiple Choice (Single Answer)

--- writes transient data to a predefined symbolic destination.

  1. WRITEQ TD
  2. WRITE TD
  3. WRITE QTD
  4. WRITE
Question 5 Multiple Choice (Single Answer)

----- stores temporary data (records) in a temporary storage queue in main or auxiliary storage.

  1. WRITEQ TD
  2. WRITE TD
  3. WRITE QTD
  4. WRITEQ TS
Question 6 Multiple Choice (Single Answer)

How is a nonstop process pair implemented in Tandem systems?

  1. CheckPointing
  2. Mirrored Disk
  3. EXPAND
  4. RDF
Question 7 Multiple Choice (Single Answer)

What are the outputs created as a result of generation of a map?

  1. Load Module
  2. Copybook
  3. Both a and b
  4. None of the above
Question 8 Multiple Choice (Single Answer)

What is a physical map?

  1. Data Structure
  2. Load Module
  3. Copybook
  4. None
Question 9 Multiple Choice (Single Answer)

Parameter to generate the symbolic map

  1. DSECT
  2. FSET
  3. MDT
  4. MDI
Question 10 Multiple Choice (Single Answer)

In which table would you make an entry for a BMS map?

  1. RCT
  2. PPT
  3. PCT
  4. FCT
Question 11 Multiple Choice (Single Answer)

Which is not a valid CICS command?

  1. SEND PAGE
  2. SEND MAPSET
  3. SEND CONTROL
  4. SEND TEXT
Question 12 Multiple Choice (Single Answer)

What is the difference between Initialize between Value?

  1. Value is Used in working storage section and Initialize in Procedure Section
  2. Both used in working storage section
  3. Value is Used in working storage section and Initialize in Procedure Division
  4. Value is Used in Procedure Section and Initialize in working storage section
Question 13 Multiple Choice (Single Answer)

SSRANGE compiler option is used for?

  1. Subscript Checking
  2. Efficiently handling Array
  3. No Such Option exists
  4. Array bound Checking
Question 14 Multiple Choice (Single Answer)

Odd-man out

  1. VRRDS
  2. KSDS
  3. ESDS
  4. QRRDS
Question 15 Multiple Choice (Single Answer)

TIME=MAXTIME , allows job to run for?

  1. 248 Days
  2. 365 Days
  3. 357912 minutes
  4. Both 1 & 3
Question 16 Multiple Choice (Single Answer)

/ symbol is used for?

  1. Page break
  2. Alternate
  3. Comment
  4. New line
Question 17 True/False

For VSAM files, the LABEL RECORDS clause has no effect on the execution of the program.

  1. True
  2. False
Question 18 True/False

Indexes defined for an array cannot be displayed in a COBOL program.

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

How many comparisons can a single COBOL if statement make?

  1. 1
  2. 2
  3. 3
  4. 4
Question 20 Multiple Choice (Single Answer)

Which of the following errors are possible within a COBOL if statement?

  1. Infinite loop
  2. Logical Error
  3. Runtime Error
  4. All the above