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)

20 Questions Published

Questions

Question 1 True/False

Like COBOL programs, in COBOL copybooks also, an asterisk at the seventh column will comment out the line.

  1. True
  2. False
Question 2 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.

  1. True
  2. False
Question 3 True/False

CONFIGURATION SECTION in COBOL must be present.

  1. True
  2. False
Question 4 True/False

Indexes can be used as subscripts while subscripts cannot be used as indexes.

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

Technically, can you use STOP RUN in a COBOL Subroutine

  1. Yes
  2. No
  3. Platform Dependent
  4. Compile but Goes into a LOOP
Question 6 Multiple Choice (Multiple Answers)

Size occupied by a data item having COMP-1 usage

  1. 1 word
  2. 2 word
  3. depends on value passed
  4. Usage can't be COMP-1
Question 7 Multiple Choice (Multiple Answers)

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

  1. 2
  2. 3
  3. 4
  4. 5
Question 8 True/False

we can set START position for a SEQUENTIAL file

  1. True
  2. False
Question 9 True/False

SORT statement works only with SEQUENTIAL files

  1. True
  2. False
Question 10 True/False

using SORT statement, sorting can be done on any no of keys

  1. True
  2. False
Question 11 True/False

SEARCH ALL can only be applied to sorted tables??

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

Select the correct edited value in field with: Picture ZZZ9V99DB VALUEE MOVED IS -152^25 B IN OPTIONS STANDS FOR SPACE

  1. B15225DB
  2. 15225DB
  3. 15225CR
  4. B15225CR
Question 13 True/False

EXIT is a no operation statement and when encountered, no action is taken.

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

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

  1. A
  2. B
  3. C
  4. D
Question 15 Multiple Choice (Single Answer)

What is a physical map? a. Data Structure b. Load Module c. Copybook d. None

  1. A
  2. B
  3. C
  4. D
Question 16 Multiple Choice (Single Answer)

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

  1. A
  2. B
  3. C
  4. D
Question 17 Multiple Choice (Single Answer)

Parameter to generate the symbolic map a. DSECT b. FSET c. MDT d. MDI

  1. A
  2. B
  3. C
  4. D
Question 18 Multiple Choice (Single Answer)

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

  1. A
  2. B
  3. C
  4. D
Question 19 Multiple Choice (Single Answer)

In which table would you make an entry for a BMS map? a. RCT b. PCT c. PPT d. FCT

  1. A
  2. B
  3. C
  4. D
Question 20 Multiple Choice (Single Answer)

Command to create a new copy a. CECI SET b. CEMT SET c. CEDF SET d. none

  1. A
  2. B
  3. C
  4. D