Defining the type of map set you require
You can distinguish the two types of map set by using either the TYPE operand of the DFHMSD macro or the SYSPARM operand on the EXEC statement of the job used to assemble the map set.
If you use the SYSPARM operand for this purpose, the TYPE operand of the DFHMSD macro is ignored. Using SYSPARM allows both the physical map set and the symbolic description map set to be generated from the same unchanged set of BMS map set definition macros.
Map sets can be assembled as either unaligned or aligned (an aligned map is one in which the length field is aligned on a halfword boundary). Use unaligned maps except in cases where an application package needs to use aligned maps.
The SYSPARM value alone determines whether the map set is aligned or unaligned, and is specified on the EXEC PROC=DFHMAPS statement. The SYSPARM operand can also be used to specify whether a physical map set or a symbolic description map set (DSECT) is to be assembled, in which case it overrides the TYPE operand. If neither operand is specified, an unaligned DSECT is generated.
The TYPE operand of the DFHMSD macro can only define whether a physical or symbolic description map set is required.
For the possible combinations of operands to generate the various types of map set, see Table 1.
| Type of map set | SYSPARM operand of EXEC DFHMAPS statement | TYPE operand of DFHMSD macro |
|---|---|---|
| Aligned symbolic |
A |
Not specified |
| Aligned |
A |
MAP |
| Unaligned |
Not specified |
Not specified |
| Unaligned |
Not specified |
MAP |
The physical map set indicates whether it was assembled for aligned or unaligned maps. This information is tested at execution time, and the appropriate map alignment used. Thus aligned and unaligned map sets can be mixed.