Data Transformation Engine Design Studio Tutorial
Chapter 3 - Modifying the Mail.mms Map Source File Executable and Functional Maps
Design Studio Tutorial
82
General Functional Map Guidelines
♦ The map rule that references the functional map is entered for the data object
to be generated on the output card of the executable map.
For example, the Label group type on the #1 LabelFile output card.
♦ Enter the map rule in the rule cell of the data object that requires additional
data processing.
For example, the Label group type on the #1 LabelFile output card.
♦ The first argument of the map rule is the functional map name.
Assigning a meaningful name is a good mapping practice. For example, assign
F_MakeLabels as the functional map name describes two things:
! The map is a functional map (F_ is a conventional prefix for functional map
names).
! The F_MakeLabels functional map name describes the function of the
functional map (to make labels).
♦ Parentheses follow the functional map name.
♦ The input data object (Contact group type) that is necessary to create one
occurrence of the output object is positioned in these parentheses.
In the rule cell of the Label group type, the syntax to call a functional map is:
Common functional map
naming convention is the
F_
prefix
Name of the functional map
Input data object
=F_MakeLabels(Contact:ContactFile)
The syntax of a functional map expression is similar to the syntax of a function.
The inputs and the output of a functional map are data objects.
The input arguments of a functional map are the objects necessary to create one
occurrence of the output object where the map rule is.
♦ The input argument of the functional map that will build a label for each
contact record is the data object that represents a single contact, the Contact
group type.