Data Transformation Engine Map Designer Reference Guide

Chapter 8 - Functional Map Basics Entering the Map Rule that References the Functional Map
Map Designer Reference Guide
144
A functional map on the CarRecord(s) data object can generate one CarRecord
for each FixedRecord. A suitable name for the functional map can be
RecordMap, because the functional map maps one record at a time.
In the CarData executable map, the map rule for the CarRecord(s) data object
in the output card would contain an equal sign, the name of the functional map,
and a set of parentheses:
=ListCars ( )
To map the fixed record input object to the map rule, drag the FixedRecord(s)
data object from the input card into the rule cell inside the parentheses. Commit
the map rule by pressing the Enter key.
A map rule specifies how to generate that certain output. The map rule on
CarRecord(s) specifies how to create each CarRecord. Basically, the map rule
specifies “to generate a CarRecord data object, use a functional map named
ListCars on a FixedRecord data object.” The functional map RecordMap uses
the FixedRecord to create a CarRecord.
Note The functional map ListCars may be created in advance of the executable map. It
does not matter which is created first, the map rule or the functional map.
However, when you build an executable map, if a rule includes the name of a map
that does not exist, you will get an error.