MAPSET resource definitions
A MAPSET resource defines a BMS map sets.
Each interactive application using a display device can use specific screen layouts, or maps. These are not specified in the program itself. Instead, you use basic mapping support (BMS). This gives greater flexibility and allows the maps to be used by multiple invocations of the same program, or by several different programs. You specify maps, and the fields on them, using the DFHMSD, DFHMDI, and DFHMDF macros. For further guidance on this, see Creating the map.
Instead of using the BMS map definition macros, you can define maps interactively with the Screen Definition Facility II (SDF II) licensed program, program numbers 5665-366 (for MVS) and 5664-307 (for VM). SDF II allows you to paint a screen interactively. You can then generate the screen to get the equivalent of a CICS®/BMS map set. The test facilities of SDF II also enable you to see your map in its run-time appearance. For background information, see Screen Definition Facility II home site.
An application can use a series of related maps at different times during the interaction with the user. It can also use several related maps at the same time and on the same display, to build up a complete screen.
These related maps belong to a map set, which you specify in a MAPSET definition. Even if your program has only one map, this must still belong to a map set. You can define your MAPSETs either by using CEDA or DFHCSDUP, or by setting the appropriate system initialization parameters to enable them to be autoinstalled. See Autoinstalling programs, map sets, and partition sets for further information about autoinstall.
There is no link through resource definitions between a program and its map sets. Instead, you specify the MAPSET name in the BMS SEND MAP and RECEIVE MAP commands in your program.
For information about working with BAS, see Working with BAS map set resource definitions.
Syntax
Attributes
- DESCRIPTION(text)
- You can provide a description of the resource that you are defining in this field. The description text can be up to 58 characters in length. There are no restrictions on the characters that you can use. However, if you use parentheses, ensure that for each left parenthesis there is a matching right parenthesis. If you use the CREATE command, for each single apostrophe in the text, code two apostrophes.
- GROUP(groupname)
- Every resource definition must have a GROUP name. The resource definition becomes a member of
the group and is installed in the CICS system when the group
is installed.Acceptable characters:
A-Z 0-9 $ @ #
Valid characters are listed as they render when the code page is IBM®-037. If a different EBCDIC code page is used, be aware of variant characters, as documented in Variant characters.
Any lowercase characters that you enter are converted to uppercase.
The GROUP name can be up to eight characters in length. Lowercase characters are treated as uppercase characters.
- MAPSET(name)
- specifies the name of this MAPSET definition. The name can be up to eight characters in length.
Acceptable characters:
A-Z 0-9 $ @ #
Valid characters are listed as they render when the code page is IBM-037. If a different EBCDIC code page is used, be aware of variant characters, as documented in Variant characters.
Unless you are using the CREATE command, any lowercase characters that you enter are converted to uppercase.
Do not use map set names beginning with DFH, because these characters are reserved for use by CICS.
For a BMS device-dependent map set, the map set name must be derived by adding the map set suffix to the original (1-to 7-character) map set name. The suffix depends on the parameter specified in the TERM operand of the DFHMSD macroinstruction that defined the map set.
To use device-dependent suffixes, you need to specify BMS=(,,,DDS) as a system initialization parameter. For information on map set suffixes, see Device dependent support.
- RESIDENT({NO|YES})
- specifies the residence status of the map set.
- NO
- The map set is not to be permanently resident.
- YES
- The map set is to be loaded on first reference and is then to be permanently resident in virtual storage, but is to be pageable by the operating system.
- RSL
- This attribute is obsolete, but is supported to provide compatibility with earlier releases of CICS. For more information, see Obsolete attributes.
- STATUS({ENABLED|DISABLED})
- specifies the map set status.
- DISABLED
- The map set may not be used.
- ENABLED
- The map set may be used.
- USAGE({NORMAL|TRANSIENT})
- specifies when the storage for this map set will be released.
- NORMAL
- When the use count of the map set reaches zero, it will become eligible for removal from storage as part of the normal dynamic storage compression process.
- TRANSIENT
- When the use count for this map set becomes zero, the storage for this map set is released. This value should be specified for map sets that are referenced infrequently.
- USELPACOPY({NO|YES})
- specifies whether the map set is to be used from the link pack area (LPA).
- NO
- The map set is not to be used from the LPA. It is loaded into the CICS partition.
- YES
- The map set can be used from the LPA if LPA=YES is specified as a system initialization parameter. The use of the map set from the LPA requires that it has been installed there and that the map set is not named by the PRVMOD start-up option. For further guidance on this, see Controlling the use of modules from the MVS link pack area.
