Table of Contents

Search

  1. Preface
  2. Working with Transformations
  3. Aggregator Transformation
  4. Custom Transformation
  5. Custom Transformation Functions
  6. Data Masking Transformation
  7. Data Masking Examples
  8. Expression Transformation
  9. External Procedure Transformation
  10. Filter Transformation
  11. HTTP Transformation
  12. Identity Resolution Transformation
  13. Java Transformation
  14. Java Transformation API Reference
  15. Java Expressions
  16. Java Transformation Example
  17. Joiner Transformation
  18. Lookup Transformation
  19. Lookup Caches
  20. Dynamic Lookup Cache
  21. Normalizer Transformation
  22. Rank Transformation
  23. Router Transformation
  24. Sequence Generator Transformation
  25. Sorter Transformation
  26. Source Qualifier Transformation
  27. SQL Transformation
  28. Using the SQL Transformation in a Mapping
  29. Stored Procedure Transformation
  30. Transaction Control Transformation
  31. Union Transformation
  32. Unstructured Data Transformation
  33. Update Strategy Transformation
  34. XML Transformations

Transformation Guide

Transformation Guide

Building the Module on Windows

Building the Module on Windows

On Windows, use Microsoft Visual C++ to build the module.
To build the module on Windows:
  1. Start Visual C++.
  2. Click File > New.
  3. In the New dialog box, click the Projects tab and select the Win32 Dynamic-Link Library option.
  4. Enter its location.
    In the Union example, enter <client_installation_directory>/TX/UnionDemo.
  5. Enter the name of the project.
    You must use the module name specified for the Custom transformation as the project name. In the Union example, enter UnionDemo.
  6. Click OK.
    Visual C++ creates a wizard to help you define the project components.
  7. In the wizard, select An empty DLL project and click Finish. Click OK in the New Project Information dialog box.
    Visual C++ creates the project files in the directory you specified.
  8. Click Project > Add To Project > Files.
  9. Navigate up a directory level. This directory contains the procedure files you created. Select all .c files and click OK.
    In the Union example, add the following files:
    • m_UnionDemo.c
    • p_Union.c
  10. Click Project > Settings.
  11. Click the C/C++ tab, and select Preprocessor from the Category field.
  12. In the Additional Include Directories field, enter the following path and click OK:
    ..; <PowerCenter_install_dir>\extproc\include\ct
  13. Click Build > Build <module_name>.dll or press F7 to build the project.
    Visual C++ creates the DLL and places it in the debug or release directory under the project directory.

0 COMMENTS

We’d like to hear from you!