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.
Questions
Collection of one or maps
- BMS
- Physical Map
- Symbolic Map
- Mapset
_________ defines a Map in a Mapset
- DFHMDI
- DFHMSD
- DFHMDF
- EXTATT
Which is a Field Protection Attributes
- NORM / BRT / DRK
- PROT / UNPROT / ASKIP
- FSET
- NUM/IC
How can you turn on MDT
- Specifying the FSET attribute in the physical map
- Setting the attribute byte to FSET in the symbolic map
- Keying data into the field
- All of the Above
How do you end a Mapset Definition?
- DFHMSD TYPE=FINAL END
- DFHMDI TYPE=FINAL END
- DFHMDF TYPE=FINAL END
- END
What are the different additional level items defined for?
- Field for Length
- Field for Attribute
- Field for Modified Data Identification
- Field for Input/Output Data
- All of the above
What are the different commands for BMS
- Send Map
- Send Control
- Send Mapset
- Send Text
- Receive Mapset
- Received Map
Using which copybook can the attribute byte of the symbolic map be modified to supercede the physical map attributes?
- DFHBMSCA
- DFHEIBLK
- DFHAID
- DFHCOPY
What does FRSET do?
- Turns off all MDTs on the screen before sending a map
- Cannot turn on MDT explicitly
- Turns on all MDTs on the screen before sending a map
- Requires the physical map field attribute or the symbolic override to control the MDT status
If DATAONLY option is used in BMS Map, then which of the following is correct
- Only the data and the associated attributes, cursor positioning information is picked from the symbolic map and the 3270 data stream constructed.
- The physical map alone is used by BMS to construct the 3270 data stream.
- 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.
- Only data entered by user is displayed
Which of the following is not a Cursor Positioning Techniques
- Initial cursor positioning
- Direct cursor positioning
- Symbolic cursor positioning
- Physical cursor positioning
Which field can be used to determine the Cursor Position
- EIBCALEN
- EIBAID
- EIBCURS
- EIBCPOSN
On a RECEIVE, CICS updates the EIB with the following information:
- The screen cursor position relative to most appropriate field is placed in EIBCPOSN
- The screen cursor position relative to zero is placed in EIBCPOSN
- The length of the COMMAREA is determined and stored in EIBCALEN
- The name of the output key the terminal operator pressed is placed in the field EIBAID
Which copybook contains the definition about the AID keys?
- DFHEIBLK
- DFHAID
- DFHBMSCA
- DFHKEYS
During Receive Map, which Item level of Symbolic Map should be used?
- Input
- Output
- Field Length
- Field Attribute
Which of the following is not a command for BMS
- Send Map
- Send Control
- Send Mapset
- Receive Mapset
Why do you need to change Field Attributes?
- Highlighting fields in error
- Protecting fields during updation
- Positioning Cursor
- For colouring the text to compete with GUI
Can the OCCURS clause be at the 01 level?
- True
- False
A cobol Program (Program A) calls Program B. What will happen, If STOP RUN is issued at the end of the Program B?
- The control will come back to Program A
- The control will not come back to Program A and program B will terminate at the end of the STOP RUN statement
- Program B abends Abnormally
- Infinite loop
what is the timeout abend code for a job?
- SB37
- 345
- S322
- SOC7