JCL to install physical and symbolic description maps
This example shows you the JCL job stream needed to install the physical map sets and the symbolic description map sets together.
The load module from the assembly of the physical map
set and the source statements for the symbolic description map set
can be produced in the same job by using the sample job stream in
Figure 1.
Figure 1. Installing
physical and symbolic description maps together
//PREPARE JOB 'accounting
information',CLASS=A,MSGLEVEL=1
//ASSEM EXEC PROC=DFHMAPS,MAPNAME=mapsetname,RMODE=ANY|24 (see note)
//SYSUT1 DD *
Macro statements defining the map set
/*
//
Note: The RMODE statement specifies whether the map set is
to be loaded above (RMODE=ANY) or below (RMODE=24) the 16MB line.
RMODE=ANY indicates that CICS can load the map set anywhere in
virtual
storage, but tries to load it above the 16MB line, if possible.
The DFHMAPS procedure produces map sets that are not
halfword-aligned.
If you want the length fields in input maps to be halfword-aligned,
you have to code A=A on the EXEC statement. In the sample job in
Figure 1
, change the EXEC statement
to:
//ASSEM EXEC PROC=DFHMAPS,MAPNAME=mapsetname,A=A
This change results in the SYSPARM operands in the assembly steps being altered to SYSPARM(AMAP) and SYSPARM(ADSECT) respectively.
The DFHMAPS procedure directs the symbolic description map set output (SYSPUNCH) to the CICSTS54.CICS .SDFHMAC library. Override this by specifying DSCTLIB=name on the EXEC statement, where "name" is the name of the chosen user copy library.