CICS DFHMSD Macro

CICS MAP Creation using BMS CICS DFHMDI Macro

Advertisements


  • 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.

  1. COLOR
  2. CTRL
  3. LANG
  4. HILIGHT
  5. MODE
  6. STORAGE
  7. TERM
  8. TIOAPFX
  9. TYPE

Let's discuss the functions one by one.


COLOR:


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

• BLUE

• GREEN

• NEUTRAL

• PINK

• RED

• TURQUOISE

• YELLOW


CTRL:


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.


LANG:


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.


LANG=COBOL (default)

HILIGHT:


Specifies default highlighting attribute.

This will be applied to all mapset.


HILIGHT=OFF/BLINK/REVERSE/UNDERLINE

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.


MODE:


Specifies mode of the MAPSET that can be used for.


MODE=IN/OUT/INOUT

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:


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.


TERM:


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.


TIOAPFX:


Terminal input output area prefix.


TIOAPFX=YES

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.


TYPE:


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.


TYPE=MAP/DESCT/&SYSPARM

DSECT: Specifies only symbolic map needs to be generated.

MAP: Specifies only physical map needs to be generated.

&SYSPARM: Specifies both will get generated.


CICS MAP Creation using BMS CICS DFHMDI Macro

Advertisements