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.
Questions
10.Which statement is used to end the COBOL program?
- STOP
- END
- STOP RUN
- END RUN
- Which clause can be used instead of checking for FILE STATUS = 10?
- RECORD NOT FOUND
- AT END
- DUPLICATE RECORD
- END OF FILE
- What are the access mode requirements of START statement?
- SEQUENTIAL
- DYNAMIC
- INDEX
- ALL OF THE ABOVE
- Which level is used for condition clause?
- 77
- 1
- 5
- 88
- What level is used for RENAMES clause?
- 66
- 77
- 88
- 90
8.In which section do sort description is given?
- WORKING-STORAGE
- FILE SECTION
- CONTROL SECTION
- LINKAGE SECTION
"THE DATE, TIME, OR TIMESTAMP VALUE value IS INVALID" , What is SQLCODE for this statement
- -180
- -504
- -805
- -545
Select the best suitable answer for below question, DDIO files is a
- Listing file
- IAM file
- XLAT file
- QSAM file
State TRUE or FALSE A new copy of the load module is not required when program is not modified
- True
- False
Break point can be set in the program by
- Inserting any label in the required line number section
- Inserting a letter ‘.B’ in the required line number section
- Inserting a letter ‘ S’ in the required line number section
- Inserting a letter ‘ B’ in the required line number section
State TRUE or FALSE, A default break point is set on the PROCEDURE DIVISION section when a program is invoked bt XPEDITOR
- True
- False
State the command to release a program from XPEDITOR
- CEMT REL PROG(<program name>)
- CECI REL PROG(<prog name>)
- CECI RELEASE <program name> PROG
- REL PROG(<program name>)
'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
- System time parameter and ‘X’ is the time
- 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
- 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
- None of the above
What is the command line option to start batch XPEDITOR
- EX
- XP
- SXP
- X
What is the primary requisite to debug a program using XPEDITOR , Choose appropriate answer
- The program should not have any COPY book
- The program should be compiled with XPEDITOR option
- The program load module should present in the allocated DDIO listing file
- The program load should not have any subroutine modules
What is the command to monitor variable values in XPEDITOR
- KEEP <variable name>
- SHOW <variable name>
- VIEW <variable name>
- DISPLAY <variable name>
What is the command to monitor group variable values in XPEDITOR
- GROUP <variable name>
- PEEK <group name>
- VIEW < group name>
- DISPLAY <group name>
Which of the following is a wrong SEND command?
- EXEC CICS SEND MAP(.........) MAPSET(....) CURSOR(100) ERASE END-EXEC.
- EXEC CICS SEND MAP(.........) MAPSET(....) CURSOR ERASE END-EXEC.
- EXEC CICS SEND MAP(.........) MAPSET(....) CURSOR(EIBCPOSN) ERASE END-EXEC.
- EXEC CICS SEND MAP(.........) MAPS(…….) CURSOR(EIBCPOSN) ERASE END-EXEC.
Which is the correct way of defining a BMS
- DFHMDF Field Definition in a Map - Field 1 DFHMDI Map Definition - Map 1 DFHMSD Mapset Definition - Start
- DFHMDF Mapset Definition - Start DFHMDI Map Definition - Map 1 DFHMSD Field Definition in a Map - Field 1
- DFHMSD Mapset Definition - Start DFHMDI Map Definition - Map 1 DFHMDF Field Definition in a Map - Field 1
- DFHMDI Map Definition - Map 1 DFHMSD Mapset Definition - Start DFHMDF Field Definition in a Map - Field 1
BMS is Interface between the ___________ logic and ____________ logic implemented using a LINK command and commarea
- Business, Database
- Business, Presentation
- Presentation, Database
- Database, User