Installing physical map sets
These examples show you the assembler and linkage editor steps for installing physical map sets and an example job stream.
Figure 1 shows the assembler and linkage editor steps for installing physical map sets.

Figure 2 gives an example job stream for the assembly and link-editing of physical map sets.
//PREP JOB 'accounting information',CLASS=A,MSGLEVEL=1
//STEP1 EXEC PROC=DFHASMVS,PARM.ASSEM='SYSPARM(MAP)'1
//SYSPUNCH DD DSN=&&TEMP,DCB=(RECFM=FB,BLKSIZE=2960),
// SPACE=(2960,(10,10)),UNIT=SYSDA,DISP=(NEW,PASS)
//SYSIN DD *
Macro statements defining the map set
/*
//STEP2 EXEC PROC=DFHLNKVS,PARM='LIST,LET,XREF'2
//SYSLIN DD DSN=&&TEMP,DISP=(OLD,DELETE)
// DD *
MODE RMODE(ANY|24)3
NAME mapsetname(R)4
/*
//
Notes
- For halfword-aligned length fields, specify the option SYSPARM(AMAP) instead of SYSPARM(MAP).
- Physical map sets are loaded into CICS-key storage, unless they are link-edited with the RMODE(ANY) and RENT options. If they are link-edited with these options, they are loaded into key-0 protected storage, if RENTPGM=PROTECT is specified on the RENTPGM initialization parameter. However, it is recommended that map sets (except for those that are only sent to 3270 or LU1 devices) should not be link-edited with the RENT or the REFR options because, in some cases, CICS modifies the map set. Generally, use the RENT or REFR options for map sets that are only sent to 3270 or LU1 devices. For more information about the storage protection facilities available in CICS, see Storage protection.
- The MODE statement specifies whether the map set is to be loaded above (RMODE(ANY)) or below (RMODE(24)) the 16 MB line. RMODE(ANY) indicates that CICS can load the map set anywhere in virtual storage, but tries to load it above the 16 MB line, if possible.
-
Use the NAME statement to specify the name of the physical map
set that BMS loads into storage. If the map set is device-dependent,
derive the map set name by appending the device suffix to the
original
1- to 7-character map set name used in the application program. The
suffixes to be appended for the various terminals supported by CICS
BMS depend on the parameter specified in the TERM or SUFFIX operand
of the DFHMSD macros used to define the map set.
To use a physical map set, you must define and install a resource definition for it. You can do this either by using the program autoinstall function or by using the CEDA DEFINE MAPSET and INSTALL commands. as described in Defining programs, map sets, and partition sets to CICS.