Using the Transformation Map Built in Variables

LANSA Composer

Using the Transformation Map Built-in Variables

Transformation map information may be referenced at run-time (in a Processing Sequence) in several ways:

  • When processing is being performed for a particular Transformation Map, the attributes of the Transformation Map can be accessed through qualified forms of the *TRANSFORM built-in variable and used as variable inputs to the Activities and Transformation Maps to be executed. Refer to Transformation Map (*TRANSFORM) Built-in Variable Qualifiers for more information.
  • In order to access the Transformation Map attributes using the qualified forms of the *TRANSFORM variable you must first explicitly assign a value to the *TRANSFORM built-in variable. The value you assign must be the identifier of a Transformation Map defined in the LANSA Composer system.  The most common case is to assign the identifier of a Transformation Map that is linked to a Trading Partner.  Your Processing Sequence might obtain the Transformation Map identifier to assign to *TRANSFORM in one of these ways:

1.  Using the *TRADINGPARTNER.MAP.<map type> built-in variable.

     Refer to Trading Partner (*TRADINGPARTNER) Built-in Variable Qualifiers for more information about the *TRADINGPARTNER.MAP.<map type> form of the *TRADINGPARTNER built-in variable.

2.  2.  From the result of running the supplied FIND_TPMAP activity.

     Refer to FIND_TPMAP for information on this activity.

3.  By "hard-coding" the identifier of a known Transformation Map.

 

In order to successfully use the *TRANSFORM built-in variable and its qualified forms, a valid value must have been assigned to it in one of the above ways.