Data Transformation Engine Map Designer Reference Guide
Chapter 6 - Map Rules Comments in Map Rules
Map Designer Reference Guide
113
The following map rule has two comments, which are indicated by blue text:
= EXTRACT (Record:Customers /*Extract the Records */,
State Field:.:Customers = "FL" /* Get only the customers in
Florida */ )
Tip Using comments for map rules, or portions of map rules, is a convenient way to
retain complex and lengthy map rules for future use without deleting them.
Syntax Errors in Map Rules
Syntax errors are reported when the map rule is committed. The default Commit
key is the Enter key. Pressing Enter on a map rule commits that rule and reports
any syntax errors.
The cursor is automatically positioned at the first syntax error. When color coding
is enabled, syntax errors can be configured to display with underline.
Data Object Names in Map Rules
The following examples show different kinds of data object names that can appear
in a map rule. The following is a partial list of the possible data object names. For
a detailed list of object names, see the Functions and Expressions Reference
Guide.
Data Object Appears in map rules as: Description
Card names OrderFile User-defined name of input or output
card
A unique name for each card in the
map provides the ability to distinguish
between card objects that may be
used in more than one card.
Component Record:OrderFile
Quantity:Record:Order
File
separated by colon :
Interpret as โofโ: โQuantity of
Record of OrderFileโ
Quantity is a component of Record.
Record is a component of OrderFile.