CICS Programming Steps
CICS Programming Steps
program
Storage=Auto for multiple map under one mapset condition, optional for 1-mapset, 1-map
condition
TYPE=$SYSPARM options are MAP, DSECT, $SYSPARM , FINAL based on option you have
selected either Physical Map (MAP) , Symbolic map (DSECT) , both ($SYSPARM), End of BMS
Code (FINAL) is generated
MAPATT=(COLOR,HILIGHT) in physical map attributes get stored based on this value. If you
specify color, it will just have color attribute you assigned, highlight option of blink will be ignored
specified through program.
DSATTS=(COLOR,HILIGHT) variables for color and highlight in symbolic map gets generated
based on this.
MODE=INOUT,IN,OUT
SIZE=(24,80) for single map or any map size you want. For multiple maps you need to be extra
careful with this option.
JUSTIFY=RIGHT/LEFT
Display field
POS=(2,30) Position of the field on the map. Its map specific for multiple map condition. Its
relative position and not the actual.
LENGTH=9 Field length
ATTRB=(NORM,PROT,IC) Attribute of field Options are
Set 1: NORM, DRK, BRT
Set 2: PROT, UNPROT, ASKIP
Set 3: This is option and can have value “IC” and sets the cursor to this by default when
screen is thrown out first time. Or “FSET” meaning field value returned irrespective if it
is changed or not (Refer DFHMDT functionality for further details). NUM is data entry
for numeric field and user will not be able to type non-numeric data. (See edit field),
position of sets is not important, it can be in any order.
INITIAL=’ACC’ : length has to be less or equal. Only one quote mark allowed, double quote not
acceptable.
HILIGHT=BLANK/REVRSE
COLOR=BLUE/WHITE/RED etc etc…
Stopper field
AENO DFHMDF POS(5,34), LENGTH=1, ATTRB=(NORM,ASKIP)
Askip field or stopper field is placed at the end of all editable fields to stop the text from edit
fields running into other MAP areas.
Editable field
UENO DFHMDF POS=(5,30), LENGTH=3, ATTRB=(NORM,UNPROT,IC,NUM,FSET), *
PICIN=’X(3)’, PICOUT=’X(3)’,HILIGHT=REVERSE
PICIN and PICOUT are field definition to pass it onto how it gets displayed on map.
Complete BMS example