BMS map is a program which is written in Assembly language to manage screens. The three macros that are used to define the screen are DFHMSD, DFHMDI, and DFHMDF.
BMS map definitions are purely assembler macros, the following coding convention must me maintained.
Label is name of the operation. If the macro is DFHMSD, it specifies map-set name. If the macro is DFHMDF then it specifies field name.
There are three macros used in BMS coding.
DFHMSD - Defining Mapset
DFHMDF - Defining Fields
All the BMS coding starts with DFHMSD followed by one or more DFHMDI. One or more DFHMDF follow DFHMDI.
Define the parameters for the macro being invoked.
Continuation of macro is achieved by ‘X’ in 72nd column of the current line and continues from the 16th column of next line.
Comment lines are indicated by ‘*’ in column 1. A comment line cannot be placed between continuation lines and comment lines cannot be continued.
You cannot have blank lines in the assembler program.
If you have any doubts or queries related to this chapter, get them clarified from our Mainframe experts on ibmmainframer Community!