Data Transformation Engine Map Designer Reference Guide

Chapter 8 - Functional Map Basics Syntax of a Functional Map Expression
Map Designer Reference Guide
141
Functional Map
A functional map is referenced by another map through a map rule. A
functional map maps just a portion of the entire data. Data sources and targets
are not specified in the cards of functional maps. Functional maps are not
compiled and run.
In the Navigator, the icon for a functional map is gray
.
Note A given map can be used both as an executable and as a functional map. You may
want to test small portions of your data and temporarily use a map you created as
a functional map as an executable map on that portion of the data.
If a map is used as a functional map, the input data and output data settings
specified in that map are ignored.
Syntax of a Functional Map Expression
Map rules on executable map output cards specify the functional map name. The
syntax of a functional map expression is similar to the syntax of a function.
Note Similar to a function, a functional map has one or more inputs, and one output.
The inputs and the output are data objects.
The syntax of a functional map expression is the following:
FunctionalMapName (argument1, argument2,...argumentn)
Where n is the argument number. The input arguments of a functional map
appear between the parentheses in the functional map expression separated by
commas.
An input argument of a functional map is any valid expression that evaluates to
data, including data objects, functions, and literals. For example, an input
argument may be any of the following:
Input argument Example
data objects FixedRecord:Input
functions that
evaluate to data
EXTRACT (StoreInfo:Inventory,
StoreName:Inventory = “Lee Furniture”)
INDEX (Record:File)
literals
“Mercator”