🖮 CICS
CICS BMS Maps
Intermediate 🕑 20 min read
👁 1 views
20
Code Example
## CICS BMS Maps
Basic Mapping Support creates formatted screens.
### BMS Components
1. **Map Source** - Screen definition
2. **Physical Map** - Load module
3. **Symbolic Map** - COBOL copybook
### Map Definition
\`\`\`
mapname DFHMSD TYPE=...
DFHMDI ...
DFHMDF ...
DFHMSD TYPE=FINAL
\`\`\`
### DFHMDI - Map Definition
Screen layout attributes.
### DFHMDF - Field Definition
Individual field attributes:
- POS - Position (line,col)
- LENGTH - Field length
- ATTRB - Attributes
- INITIAL - Default value
### Attributes
- ASKIP - Auto skip
- PROT - Protected
- UNPROT - Unprotected
- BRT - Bright
- NORM - Normal
- DRK - Dark
### Using Maps
SEND MAP sends screen
RECEIVE MAP gets input