Data Transformation Engine Functions and Expressions Reference Guide

Chapter 2 - Using Functions List of Functions by Category
Functions and Expressions Reference Guide
54
Function Description
EXIT
Allows interfacing to a function in an external library or
application
GET
Returns data from a source adapter. Can also be used for
adapters that support request/reply such as Mercator's
Roma adapter
PUT
Passes data to a target adapter
RUN
Allows you to run a map from a map rule
Error Handling Functions
Function Description
CONTAINSERRORS
Tests a valid object to see whether it contains any objects
in error
FAIL
Returns NONE, aborts the map, and returns a text string
to be reported as the map completion error message
ISERROR
Tests an object to see whether it is in error
LASTERRORCODE
Returns a text item whose value is the last error code
returned by one of a specified set of functions during map
execution
LASTERRORMSG
Returns a text item whose value is the message
corresponding to the last error code returned by one of a
specified set of functions during map execution
ONERROR
Used in a component rule to add a user-defined error
message to the data section of the audit log
REJECT
Returns the value of an object in error as a text item
VALID
Returns the result of the first argument if it is valid;
otherwise, returns the second argument