You can review
the mappings that are automatically generated when a transformation
is submitted for execution in the context of a SAS Data Integration
Studio job. The mappings are depicted on the
Mappings tab. A
Mappings tab from a sample job is
shown in the following display.
Automatic Column Mappings
The arrows
in the preceding display represent mappings that associate source
columns with target columns. By default, SAS Data Integration Studio
automatically creates a mapping when a source column and a target
column have the same column name, data type, and length. Events that
trigger automatic mapping include:
-
connecting a source and a target
to the transformation on the
Diagram tab
-
clicking
Propagate in the toolbar or in the pop-up menu in the Job Editor window
-
clicking
Propagate on the
Mappings tab toolbar and selecting
a propagation option
-
clicking
Map all columns on the
Mappings tab toolbar
Note: When a transformation
that is included in a job has multiple source or target tables, a
drop-down menu is added to the top of the field. This menu enables
you to select each individual table or all of the tables at once.
SAS Data
Integration Studio might not be able to automatically create all column
mappings that you need in a transformation. It automatically creates
a mapping when a source column and a target column have the same column
name, data type, and length. However, even though such mappings are
valid, they might not be appropriate in the current job.
You can
also disable or enable automatic mapping for a transformation. For
example, suppose that both the source table and the target table for
a transformation have two columns that have the same column name,
data type, and length, as shown in the preceding display. These columns
are mapped automatically unless you disable automatic mapping for
the transformation. If you delete the mappings between these columns,
the mappings are restored upon a triggering event, such as clicking
Propagate or
Map all columns.
You can
use the following methods to disable automatic mapping:
-
disable automatic mapping globally
for new SAS Data Integration Studio jobs. Select or deselect
Automatically map columns on the
Job Editor tab in the Options window. To access the
Options window, click
Options in the
Tools menu on the SAS Data Integration Studio menu bar.
-
disable automatic mapping for the
job. Deselect
Automatically Map Job on the
drop-down menu that is displayed when you click
Settings on the toolbar at the top of the
Job Editor window.
-
disable automatic mapping for the
transformation in a job. Deselect
Include Transformation
in Mapping on the drop-down menu that is displayed when
you click
Settings on the toolbar at the
top of the
Mappings tab.
Note: If you disable
automatic mapping for a transformation, you must maintain its mappings
manually.