Inserting a Script Execution

A script execution executes a script for each row of the input flow. For example, it can be used to create a log file, a mail or a text file related to the input flow.

  1. Select the Script Execution tool in the palette, and create the action in the diagram.
  2. Select the Data Flow tool, and draw a flow from the preceding step (a data input or action) to the script execution to initialize it with the incoming data structure columns.
  3. Double-click the script execution symbol to open its property sheet, click the Script tab, select or enter a script language, and enter a script in the textbox.

  4. [optional] Click the Data Structure Columns tab, and add, edit, reorder or delete columns as appropriate.
  5. Click OK to save your changes and return to the diagram.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com