Data Transformation Engine Functions and Expressions Reference Guide
Chapter 3 - Function Reference REFORMAT
Functions and Expressions Reference Guide
168
Uses
Use
PUT to route data within your map using one of the target adapters such
as to a messaging system, a database, a file, and so on.
Related Functions
FAIL, GET, LASTERRORCODE, LASTERRORMSG, VALID
REFORMAT
The REFORMAT function returns a type object that results from replacing the
syntax of the input type with the syntax of the output type. The initiator and
terminator of the output type are built. The content result rules are determined
based on the Input type and the Output type. Groups and Items can be used with
REFORMAT.
REFORMAT cannot be used as an argument to a function, operator, or functional
map.
Syntax
REFORMAT (single-object-expression)
Meaning
REFORMAT (type-to-convert)
Returns a type object whose content matches the input type object, but whose
syntax matches the output type object.