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

Service Process Variables in Initialization Properties

Service Process Variables in Initialization Properties

PowerCenter supports built-in process variables in the External Procedure transformation initialization properties list. If the property values contain built-in process variables, the Integration Service expands them before passing them to the external procedure library. This can be very useful for writing portable External Procedure transformations.
The following table describes the initialization properties and values for an External Procedure transformation on the Initialization Properties tab of the transformation properties:
External Procedure Initialization Properties
Property
Value
Expanded Value Passed to the External Procedure Library
mytempdir
$PMTempDir
/tmp
memorysize
5000000
5000000
input_file
$PMSourceFileDir/file.in
/data/input/file.in
output_file
$PMTargetFileDir/file.out
/data/output/file.out
extra_var
$some_other_variable
$some_other_variable
When you run the workflow, the Integration Service expands the property list and passes it to the external procedure initialization function. Assuming that the values of the built-in process variables $PMTempDir is
/tmp
, $PMSourceFileDir is
/data/input
, and $PMTargetFileDir is
/data/output
, the last column in Service Process Variables in Initialization Properties contains the property and expanded value information. The Integration Service does not expand the last property “$some_other_variable” because it is not a built-in process variable.

0 COMMENTS

We’d like to hear from you!