Rational Developer for System z

Substring transform

The Substring transform generates a string obtained by extracting a specified substring from the string contained in the source element of the transform.

To specify the values for a Substring transform:

  1. Verify that the type of the transform that is selected in the mapping routine area is Substring.

  2. In the Properties view, select the General tab.

  3. In the General tab, type in a value for each input field:

    Substring index
    The index in the source string of the first character of the substring.
    Substring length
    The number of characters in the source string.
    Tip: If an error icon Error appears at the left of an input field, you can display a description of the error by hovering the mouse pointer icon over the error icon.

At runtime:

  1. The runtime environment reads the contents of the source element (a string) and extracts the sequence of characters specified by the Substring index and the Substring length.

  2. The runtime environment stores the extracted string into the target element.


Feedback