When you manually map a data set, you are responsible for creating
the DDL, mapping the data set with the ISPF mapping dialogs, and generating
the driver modules. Alternate indexes must be mapped manually.
All of these actions are performed by the automated mapping
facility, including the generation of the
DB2®
DDL and CICS®
VT driver modules for alternate indexes associated with a base cluster. You perform the following
steps with the automated mapping facility:
- Gather information about the data set or data sets to be
mapped.
- Select Auto mapping facility from the
CICS
VT main menu, and the DIM name to be processed using the
CICS
VT ISPF dialogs.
- Specify the copybook you want to use to map this DIM.
- Optionally edit the mapping data. For example, you might want to change a
DB2
column name or attribute.
CICS
VT always presents the edit panel if a user action is required; for example, if there
are duplicate field names in the copybook. Mapping data is inserted into the
CICS
VT control tables when editing is complete.
- Submit the batch auto mapping generation job. This creates the
DB2
objects and generates the drivers.
- Perform post auto-mapping tasks.
The rules and detailed information on how to perform these tasks are
explained in the following section.