CICS BMS Maps and COBOL Programming
Test your knowledge of CICS BMS (maps, macros, PCT/PPT/FCT tables) and COBOL programming (SORT, SEARCH, file handling, data types, and syntax)
Questions
Like COBOL programs, in COBOL copybooks also, an asterisk at the seventh column will comment out the line.
- True
- False
The SYNCHRONIZED LEFT / RIGHT clause which specifies alignment of elementary data item on storage boundary can be specified for data items defined with USAGE IS INDEX.
- True
- False
CONFIGURATION SECTION in COBOL must be present.
- True
- False
Indexes can be used as subscripts while subscripts cannot be used as indexes.
- True
- False
Technically, can you use STOP RUN in a COBOL Subroutine
- Yes
- No
- Platform Dependent
- Compile but Goes into a LOOP
Size occupied by a data item having COMP-1 usage
- 1 word
- 2 word
- depends on value passed
- Usage can't be COMP-1
find the error in following code(GIVE THE LINE NO) 1 IF A > B 2 MOVE 1 TO FLAG-A 3 MOVE 200 TO VALUE-B. 4 IF VALUE-B > 20 5 GO TO EXIT-PARA 6 END-IF 7 END-IF
- 2
- 3
- 4
- 5
we can set START position for a SEQUENTIAL file
- True
- False
SORT statement works only with SEQUENTIAL files
- True
- False
using SORT statement, sorting can be done on any no of keys
- True
- False
SEARCH ALL can only be applied to sorted tables??
- True
- False
Select the correct edited value in field with: Picture ZZZ9V99DB VALUEE MOVED IS -152^25 B IN OPTIONS STANDS FOR SPACE
- B15225DB
- 15225DB
- 15225CR
- B15225CR
EXIT is a no operation statement and when encountered, no action is taken.
- True
- False
What are the outputs created as a result of generation of a map? A. Load Module B. Copybook C. Both a and b D. None of the above
- A
- B
- C
- D
What is a physical map? a. Data Structure b. Load Module c. Copybook d. None
- A
- B
- C
- D
What is the working storage fields used for every field on the map? a. Length b. Input/Output field c. Attribute d. All of the above
- A
- B
- C
- D
Parameter to generate the symbolic map a. DSECT b. FSET c. MDT d. MDI
- A
- B
- C
- D
Name the macros used to define MAP, MAPSET and FIELD a. MAP - DFHMDI MAPSET - DFHMSD FIELD - DFHMDF b. MAP - DFHMSD MAPSET - DFHMDF FIELD - DFHMDI c. MAP - DFHMSD MAPSET - DFHMDI FIELD - DFHMDF d. MAP - DFHMDF MAPSET - DFHMDI FIELD – DFHMSD
- A
- B
- C
- D
In which table would you make an entry for a BMS map? a. RCT b. PCT c. PPT d. FCT
- A
- B
- C
- D
Command to create a new copy a. CECI SET b. CEMT SET c. CEDF SET d. none
- A
- B
- C
- D