Table of Contents

Search

  1. Preface
  2. Data Replication Overview
  3. Understanding Data Replication
  4. Sources - Preparation and Replication Considerations
  5. Targets - Preparation and Replication Considerations
  6. Starting the Server Manager
  7. Getting Started with the Data Replication Console
  8. Defining and Managing Server Manager Main Servers and Subservers
  9. Creating and Managing User Accounts
  10. Creating and Managing Connections
  11. Creating Replication Configurations
  12. Materializing Targets with InitialSync
  13. Scheduling and Running Replication Tasks
  14. Implementing Advanced Replication Topologies
  15. Monitoring Data Replication
  16. Managing Replication Configurations
  17. Handling Replication Environment Changes and Failures
  18. Troubleshooting
  19. Data Replication Files and Subdirectories
  20. Data Replication Runtime Parameters
  21. Command Line Parameters for Data Replication Components
  22. Updating Configurations in the Replication Configuration CLI
  23. DDL Statements for Manually Creating Recovery Tables
  24. Sample Scripts for Enabling or Disabling SQL Server Change Data Capture
  25. Glossary

Adding Tcl Expressions

Adding Tcl Expressions

After you write a Tcl script based on the information in the
Informatica Data Replication Scripting Guide
, enter the script for a source table in the Data Replication Console.
Before you begin, make sure that the Console is in Edit mode.
  1. On the
    Map Tables
    tab, select the mapped source table row for which to define a Tcl expression.
  2. Click the
    Add or Show Table Expression
    icon button above the source tables filter field, or right-click the table row and click
    Add or Show Table Expression
    .
    The
    Add/Show expressions
    dialog box appears.
  3. Click
    New
    .
  4. Enter an expression name and click
    OK
    .
    An expression name can be no longer than 50 characters and can include only the digits 0-9, Latin letters A-Z and a-z, and the underscore (_) character.
  5. In the
    Language
    field, select
    TCL
    .
  6. Double-click the
    Expression
    field or click
    Edit
    .
    The
    Tcl Expression Editor
    dialog box appears.
    Tcl Expression Editor dialog box
  7. Enter a Tcl expression for processing the replicated data and click
    OK
    .
    The Tcl expression appears in the
    Add/Show expressions
    dialog box.
    • To edit an expression, double-click in the
      Expression
      field, or select the expression row and click
      Edit
      .
    • To rename an expression, double-click in the
      Name
      field. Then edit the expression name and press
      Enter
      .
    • To delete an expression that is not assigned to any virtual column, select the expression row and click
      Delete
      .
  8. When done, click
    Close
    .
Next, you can assign the Tcl expression to a virtual column.

0 COMMENTS

We’d like to hear from you!