There are three steps in the automated mapping facility.
- Step 1
- Is a batch job or ISPF option that analyzes the VSAM cluster for
the file to
be migrated. Information such as the record length, key length and
position, alternate indexes, and number of records are extracted
into the CICS® VT mapping tables.
- Step 2
- Uses ISPF dialogs to analyze the copybook for the file and
relate it to the VSAM record on a field by field basis. Column names are
generated from copybook field names. You can change column names
and attributes in the ISPF dialogs.
- Step 3
- Generates the mapping data for the base cluster and each alternate
index, and produces the DDL to create the appropriate
DB2® tablespace, table and index
objects. The runtime drivers (DIM and DDM) are generated in this step.
There are commands to enable you to suspend and resume
mapping, and to save the DDL for processing at a later stage if required.