CICS DFHMSD MacroCICS MAP Creation using BMS CICS DFHMDI Macro
• Mapset definition.
• This BMS macro is used to define a MAPSET with its characteristic.
• This also used to end of the MAPSET to end the MPASET coding.
• In the MAP coding, two DFHMSD will exist.
• The important & basic functions DFHMSD macros are below.
Let's discuss the functions one by one.
Sepcifies the color that used on all the maps of the mapset.
The color value can be overridden by individual COLOR parameter.
If it ignored the default value of the output device will be used.
Valid colors are
Specifies control actions that are to be performed when the map set displaying on screen.
CNTL= (FREEKB, PRINT, FSET, ALARM)
Specifies the device control requests.
FREEKB is used to unlock the keyboard.
FRSET is used to reset the MDT of all the fields in all the maps to zero.
PRINT is used to send the mapset to printer.
ALARAM is specified when the alarm feature to be activated.
Specifies the source language of the application programs into where the symbolic maps generated.
The supported programming languages are COBOL, C, C++,PL/I, ASM, or RPG.
Specifies default highlighting attribute.
This will be applied to all mapset.
OFF is default and indicates no highlighting used.
BLINK used to specify to blink the field.
REVERSE used to specify to reverse display of the field.
UNDERLINE used to underline the field.
Specifies mode of the MAPSET that can be used for.
Specifies IN Mode for input MAPs to input the data by the user.
OUT for output MAPs to display the data to user after the processing.
INOUT for both input and output MAPs.
STORAGE operand depends on the language in which application programs are written.
If AUTO option specified in COBOL Program , then the symbolic map and physical map will use separate memory locations.
AUTO is used to acquire separate symbolic map variables layout for each map.
MAP-IOAREA allows multiple maps from MAPSET to share same storage area. MAP-IOAREA will be redefined multiple times for each MAP.
Specifies the type of terminal and id where the MAP needs to display.
The terminal name going to provide here should have a TCT entry, otherwise it can’t able to recognize the terminal.
Terminal input output area prefix.
It resumes 12 bytes of storage space in the memory to execute CICS commands against the map.
02 ILLER PIC X (12).
CNTL, TIOAPFX are default. Those are not change even though the user overrides.
Specifies the type of the map that needs to be generated.
The type of the mapset can be either physical or symbolic or both.
Both types of map must be generated before the mapset can be used by an application program.
There three types which are used based on the requirement.
• DSECT: Specifies only symbolic map needs to be generated.
• MAP: Specifies only physical map needs to be generated.
• &SYSPARM: Specifies both will get generated.
If any questions on the above, post your queries on CICS Discussion forum
CICS MAP Creation using BMS CICS DFHMDI Macro