Data Transformation Engine Functions and Expressions Reference Guide

Chapter 3 - Function Reference RUN
Functions and Expressions Reference Guide
174
Uses
Use
ROUND to round a number to a specified number of decimal places. Also,
you can use
ROUND to round to a whole number by not specifying a second
argument.
Related Function
TRUNCATE
RUN
The RUN function allows you to execute another compiled map from a component
or map rule.
Syntax
RUN (single-text-expression [ , single-text-expression ])
Meaning
RUN (map_to_run [ , command_option_list ])
The first argument, map_to_run, is an expression identifying the name of the
compiled map (.mmc) to be run.
Command_option_list is used to specify execution commands applicable to the
map to be run. Command_option_list is a text item containing a series of
execution commands separated by a space.
Any execution command can be used as part of the command_option_list. For
example, you can send data to another map by using the echo command
option (-IEx). See the Execution Commands Reference Guide for a list of
command options.
Note The command_option_list is optional.
Returns
This function returns a single-text-item.
The result of the
RUN function depends on the command options in
command_option_list:
! If you use the echo command option for an output card, the data from that
card will be passed back as a text-item to the object in the map from which
it was run.