Mainframe CICS and BMS Programming

Covers CICS BMS (Basic Mapping Support), COBOL programming, and mainframe job control concepts including maps, mapsets, field attributes, cursor positioning, and abend codes.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Collection of one or maps

  1. BMS
  2. Physical Map
  3. Symbolic Map
  4. Mapset
Question 2 Multiple Choice (Single Answer)

_________ defines a Map in a Mapset

  1. DFHMDI
  2. DFHMSD
  3. DFHMDF
  4. EXTATT
Question 3 Multiple Choice (Single Answer)

Which is a Field Protection Attributes

  1. NORM / BRT / DRK
  2. PROT / UNPROT / ASKIP
  3. FSET
  4. NUM/IC
Question 4 Multiple Choice (Single Answer)

How can you turn on MDT

  1. Specifying the FSET attribute in the physical map
  2. Setting the attribute byte to FSET in the symbolic map
  3. Keying data into the field
  4. All of the Above
Question 5 Multiple Choice (Single Answer)

How do you end a Mapset Definition?

  1. DFHMSD TYPE=FINAL END
  2. DFHMDI TYPE=FINAL END
  3. DFHMDF TYPE=FINAL END
  4. END
Question 6 Multiple Choice (Single Answer)

What are the different additional level items defined for?

  1. Field for Length
  2. Field for Attribute
  3. Field for Modified Data Identification
  4. Field for Input/Output Data
  5. All of the above
Question 7 Multiple Choice (Multiple Answers)

What are the different commands for BMS

  1. Send Map
  2. Send Control
  3. Send Mapset
  4. Send Text
  5. Receive Mapset
  6. Received Map
Question 8 Multiple Choice (Single Answer)

Using which copybook can the attribute byte of the symbolic map be modified to supercede the physical map attributes?

  1. DFHBMSCA
  2. DFHEIBLK
  3. DFHAID
  4. DFHCOPY
Question 9 Multiple Choice (Multiple Answers)

What does FRSET do?

  1. Turns off all MDTs on the screen before sending a map
  2. Cannot turn on MDT explicitly
  3. Turns on all MDTs on the screen before sending a map
  4. Requires the physical map field attribute or the symbolic override to control the MDT status
Question 10 Multiple Choice (Single Answer)

If DATAONLY option is used in BMS Map, then which of the following is correct

  1. Only the data and the associated attributes, cursor positioning information is picked from the symbolic map and the 3270 data stream constructed.
  2. The physical map alone is used by BMS to construct the 3270 data stream.
  3. Based on the contents of the symbolic map, the attributes defined for the fields and the contents of the physical map, BMS constructs the 3270 data stream and SENDs the map to the terminal.
  4. Only data entered by user is displayed
Question 11 Multiple Choice (Single Answer)

Which of the following is not a Cursor Positioning Techniques

  1. Initial cursor positioning
  2. Direct cursor positioning
  3. Symbolic cursor positioning
  4. Physical cursor positioning
Question 12 Multiple Choice (Single Answer)

Which field can be used to determine the Cursor Position

  1. EIBCALEN
  2. EIBAID
  3. EIBCURS
  4. EIBCPOSN
Question 13 Multiple Choice (Single Answer)

On a RECEIVE, CICS updates the EIB with the following information:

  1. The screen cursor position relative to most appropriate field is placed in EIBCPOSN
  2. The screen cursor position relative to zero is placed in EIBCPOSN
  3. The length of the COMMAREA is determined and stored in EIBCALEN
  4. The name of the output key the terminal operator pressed is placed in the field EIBAID
Question 14 Multiple Choice (Single Answer)

Which copybook contains the definition about the AID keys?

  1. DFHEIBLK
  2. DFHAID
  3. DFHBMSCA
  4. DFHKEYS
Question 15 Multiple Choice (Single Answer)

During Receive Map, which Item level of Symbolic Map should be used?

  1. Input
  2. Output
  3. Field Length
  4. Field Attribute
Question 16 Multiple Choice (Single Answer)

Which of the following is not a command for BMS

  1. Send Map
  2. Send Control
  3. Send Mapset
  4. Receive Mapset
Question 17 Multiple Choice (Single Answer)

Why do you need to change Field Attributes?

  1. Highlighting fields in error
  2. Protecting fields during updation
  3. Positioning Cursor
  4. For colouring the text to compete with GUI
Question 18 True/False

Can the OCCURS clause be at the 01 level?

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

A cobol Program (Program A) calls Program B. What will happen, If STOP RUN is issued at the end of the Program B?

  1. The control will come back to Program A
  2. The control will not come back to Program A and program B will terminate at the end of the STOP RUN statement
  3. Program B abends Abnormally
  4. Infinite loop
Question 20 Multiple Choice (Single Answer)

what is the timeout abend code for a job?

  1. SB37
  2. 345
  3. S322
  4. SOC7