Creating global variables

Create a new global variable when you need a variable for a data transformation map, validation map, or functional acknowledgment map that needs to retain its information beyond the current document being translated.

The following steps describe how to create a new global variable.

  1. Open the Global Variables editor. The following steps describe how to do this.
    1. Click the Mapping button on the main application window.
    2. In the Global Variables tab, click the New button. The Global Variable editor opens.
  2. On the General tab page, type in the name of the global variable into the Name field.
  3. You can optionally type a description of the variable in the Description field.
  4. Indicate the scope of the global variable as either Interchange or Group.
  5. From the Data Type drop-down list, select the data type of the global variable. The choices are: Binary, Boolean, Character, Integer, and Real.
  6. In the Maximum Length field, you can optionally set the maximum length of the global variable.
  7. In the Initial Value field, type an initial value for the global variable.
  8. Click the Save button on the toolbar. Data Interchange Services client saves the new global variable to the database.
  9. Close the editor when you are done.

Copyright IBM Corp. 2003, 2005