Mainframe: CICS BMS, XPEDITOR, and COBOL Programming

Test your knowledge of mainframe topics including CICS Basic Mapping Support (BMS), XPEDITOR debugging tool, COBOL programming concepts, and DB2 SQLCODE values.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

10.Which statement is used to end the COBOL program?

  1. STOP
  2. END
  3. STOP RUN
  4. END RUN
Question 2 Multiple Choice (Single Answer)
  1. Which clause can be used instead of checking for FILE STATUS = 10?
  1. RECORD NOT FOUND
  2. AT END
  3. DUPLICATE RECORD
  4. END OF FILE
Question 3 Multiple Choice (Single Answer)
  1. What are the access mode requirements of START statement?
  1. SEQUENTIAL
  2. DYNAMIC
  3. INDEX
  4. ALL OF THE ABOVE
Question 4 Multiple Choice (Single Answer)
  1. Which level is used for condition clause?
  1. 77
  2. 1
  3. 5
  4. 88
Question 5 Multiple Choice (Single Answer)
  1. What level is used for RENAMES clause?
  1. 66
  2. 77
  3. 88
  4. 90
Question 6 Multiple Choice (Single Answer)

8.In which section do sort description is given?

  1. WORKING-STORAGE
  2. FILE SECTION
  3. CONTROL SECTION
  4. LINKAGE SECTION
Question 7 Multiple Choice (Single Answer)

"THE DATE, TIME, OR TIMESTAMP VALUE value IS INVALID" , What is SQLCODE for this statement

  1. -180
  2. -504
  3. -805
  4. -545
Question 8 Multiple Choice (Single Answer)

Select the best suitable answer for below question, DDIO files is a

  1. Listing file
  2. IAM file
  3. XLAT file
  4. QSAM file
Question 9 True/False

State TRUE or FALSE A new copy of the load module is not required when program is not modified

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

Break point can be set in the program by

  1. Inserting any label in the required line number section
  2. Inserting a letter ‘.B’ in the required line number section
  3. Inserting a letter ‘ S’ in the required line number section
  4. Inserting a letter ‘ B’ in the required line number section
Question 11 True/False

State TRUE or FALSE, A default break point is set on the PROCEDURE DIVISION section when a program is invoked bt XPEDITOR

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

State the command to release a program from XPEDITOR

  1. CEMT REL PROG(<program name>)
  2. CECI REL PROG(<prog name>)
  3. CECI RELEASE <program name> PROG
  4. REL PROG(<program name>)
Question 13 Multiple Choice (Single Answer)

'WHEN’ command is used to analyze the outcome of a program in XPEDITOR for a particular condition, syntax is given below WHEN <VARIABLE = ‘X’> , Here VARIABLE can be

  1. System time parameter and ‘X’ is the time
  2. A storage variable which is used in the program for which the program behavior changes differently for different values and ‘X’ is one of the possible value
  3. A storage variable which is used in the program for which the program behavior changes differently for different values and ‘X’ is one of the non-possible value
  4. None of the above
Question 14 Multiple Choice (Single Answer)

What is the command line option to start batch XPEDITOR

  1. EX
  2. XP
  3. SXP
  4. X
Question 15 Multiple Choice (Single Answer)

What is the primary requisite to debug a program using XPEDITOR , Choose appropriate answer

  1. The program should not have any COPY book
  2. The program should be compiled with XPEDITOR option
  3. The program load module should present in the allocated DDIO listing file
  4. The program load should not have any subroutine modules
Question 16 Multiple Choice (Single Answer)

What is the command to monitor variable values in XPEDITOR

  1. KEEP <variable name>
  2. SHOW <variable name>
  3. VIEW <variable name>
  4. DISPLAY <variable name>
Question 17 Multiple Choice (Single Answer)

What is the command to monitor group variable values in XPEDITOR

  1. GROUP <variable name>
  2. PEEK <group name>
  3. VIEW < group name>
  4. DISPLAY <group name>
Question 18 Multiple Choice (Single Answer)

Which of the following is a wrong SEND command?

  1. EXEC CICS SEND MAP(.........) MAPSET(....) CURSOR(100) ERASE END-EXEC.
  2. EXEC CICS SEND MAP(.........) MAPSET(....) CURSOR ERASE END-EXEC.
  3. EXEC CICS SEND MAP(.........) MAPSET(....) CURSOR(EIBCPOSN) ERASE END-EXEC.
  4. EXEC CICS SEND MAP(.........) MAPS(…….) CURSOR(EIBCPOSN) ERASE END-EXEC.
Question 19 Multiple Choice (Single Answer)

Which is the correct way of defining a BMS

  1. DFHMDF Field Definition in a Map - Field 1 DFHMDI Map Definition - Map 1 DFHMSD Mapset Definition - Start
  2. DFHMDF Mapset Definition - Start DFHMDI Map Definition - Map 1 DFHMSD Field Definition in a Map - Field 1
  3. DFHMSD Mapset Definition - Start DFHMDI Map Definition - Map 1 DFHMDF Field Definition in a Map - Field 1
  4. DFHMDI Map Definition - Map 1 DFHMSD Mapset Definition - Start DFHMDF Field Definition in a Map - Field 1
Question 20 Multiple Choice (Single Answer)

BMS is Interface between the ___________ logic and ____________ logic implemented using a LINK command and commarea

  1. Business, Database
  2. Business, Presentation
  3. Presentation, Database
  4. Database, User