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

Port and Property Attribute Property IDs

Port and Property Attribute Property IDs

The following tables list the property IDs for the port and property attributes in the Custom transformation. Each table lists a Custom transformation handle and the property IDs you can access with the handle in a property function.
The following table lists INFA_CT_MODULE _HANDLE property IDs:
Handle Property ID
Datatype
Description
INFA_CT_MODULE_NAME
String
Specifies the module name.
INFA_CT_SESSION_INFA_VERSION
String
Specifies the Informatica version.
INFA_CT_SESSION_CODE_PAGE
Integer
Specifies the Integration Service code page.
INFA_CT_SESSION_DATAMOVEMENT_MODE
Integer
Specifies the data movement mode. The Integration Service returns one of the following values:
  • eASM_MBCS
  • eASM_UNICODE
INFA_CT_SESSION_VALIDATE_CODEPAGE
Boolean
Specifies whether the Integration Service enforces code page validation.
INFA_CT_SESSION_PROD_INSTALL_DIR
String
Specifies the Integration Service installation directory.
INFA_CT_SESSION_HIGH_PRECISION_MODE
Boolean
Specifies whether session is configured for high precision.
INFA_CT_MODULE_RUNTIME_DIR
String
Specifies the runtime directory for the DLL or shared library.
INFA_CT_SESSION_IS_UPD_STR_ALLOWED
Boolean
Specifies whether the Update Strategy Transformation property is selected in the transformation.
INFA_CT_TRANS_OUTPUT_IS_REPEATABLE
Integer
Specifies whether the Custom transformation produces data in the same order in every session run. The Integration Service returns one of the following values:
  • eOUTREPEAT_NEVER = 1
  • eOUTREPEAT_ALWAYS = 2
  • eOUTREPEAT_BASED_ON_INPUT_ORDER = 3
INFA_CT_TRANS_FATAL_ERROR
Boolean
Specifies if the Custom Transformation caused a fatal error. The Integration Service returns one of the following values:
  • INFA_TRUE
  • INFA_FALSE
The following table lists INFA_CT_PROC_HANDLE property IDs:
Handle Property ID
Datatype
Description
INFA_CT_PROCEDURE_NAME
String
Specifies the Custom transformation procedure name.
The following table lists INFA_CT_TRANS_HANDLE property IDs:
Handle Property ID
Datatype
Description
INFA_CT_TRANS_INSTANCE_NAME
String
Specifies the Custom transformation instance name.
INFA_CT_TRANS_TRACE_LEVEL
Integer
Specifies the tracing level. The Integration Service returns one of the following values:
  • eTRACE_TERSE
  • eTRACE_NORMAL
  • eTRACE_VERBOSE_INIT
  • eTRACE_VERBOSE_DATA
INFA_CT_TRANS_MAY_BLOCK_DATA
Boolean
Specifies if the Integration Service allows the procedure to block input data in the current session.
INFA_CT_TRANS_MUST_BLOCK_DATA
Boolean
Specifies if the Inputs Must Block Custom transformation property is selected.
INFA_CT_TRANS_ISACTIVE
Boolean
Specifies whether the Custom transformation is an active or passive transformation.
INFA_CT_TRANS_ISPARTITIONABLE
Boolean
Specifies if you can partition sessions that use this Custom transformation.
INFA_CT_TRANS_IS_UPDATE_STRATEGY
Boolean
Specifies if the Custom transformation behaves like an Update Strategy transformation.
INFA_CT_TRANS_DEFAULT_UPDATE_STRATEGY
Integer
Specifies the default update strategy.
  • eDUS_INSERT
  • eDUS_UPDATE
  • eDUS_DELETE
  • eDUS_REJECT
  • eDUS_PASSTHROUGH
INFA_CT_TRANS_NUM_PARTITIONS
Integer
Specifies the number of partitions in the sessions that use this Custom transformation.
INFA_CT_TRANS_DATACODEPAGE
Integer
Specifies the code page in which the Integration Service passes data to the Custom transformation. Use the set data code page function if you want the Custom transformation to access data in a different code page.
INFA_CT_TRANS_TRANSFORM_SCOPE
Integer
Specifies the transformation scope in the Custom transformation. The Integration Service returns one of the following values:
  • eTS_ROW
  • eTS_TRANSACTION
  • eTS_ALLINPUT
INFA_CT_TRANS_GENERATE_TRANSACT
Boolean
Specifies if the Generate Transaction property is enabled. The Integration Service returns one of the following values:
  • INFA_TRUE
  • INFA_FALSE
INFA_CT_TRANS_OUTPUT_IS_REPEATABLE
Integer
Specifies whether the Custom transformation produces data in the same order in every session run. The Integration Service returns one of the following values:
  • eOUTREPEAT_NEVER = 1
  • eOUTREPEAT_ALWAYS = 2
  • eOUTREPEAT_BASED_ON_INPUT_ORDER = 3
INFA_CT_TRANS_FATAL_ERROR
Boolean
Specifies if the Custom Transformation caused a fatal error. The Integration Service returns one of the following values:
  • INFA_TRUE
  • INFA_FALSE
The following table lists INFA_CT_INPUT_GROUP_HANDLE and INFA_CT_OUTPUT_GROUP_HANDLE property IDs:
Handle Property ID
Datatype
Description
INFA_CT_GROUP_NAME
String
Specifies the group name.
INFA_CT_GROUP_NUM_PORTS
Integer
Specifies the number of ports in the group.
INFA_CT_GROUP_ISCONNECTED
Boolean
Specifies if all ports in a group are connected to another transformation.
INFA_CT_PORT_NAME
String
Specifies the port name.
INFA_CT_PORT_CDATATYPE
Integer
Specifies the port datatype. The Integration Service returns one of the following values:
  • eINFA_CTYPE_SHORT
  • eINFA_CTYPE_INT32
  • eINFA_CTYPE_CHAR
  • eINFA_CTYPE_RAW
  • eINFA_CTYPE_UNICHAR
  • eINFA_CTYPE_TIME
  • eINFA_CTYPE_FLOAT
  • eINFA_CTYPE_DOUBLE
  • eINFA_CTYPE_DECIMAL18_FIXED
  • eINFA_CTYPE_DECIMAL28_FIXED
  • eINFA_CTYPE_INFA_CTDATETIME
INFA_CT_PORT_PRECISION
Integer
Specifies the port precision.
INFA_CT_PORT_SCALE
Integer
Specifies the port scale (if applicable).
INFA_CT_PORT_IS_MAPPED
Boolean
Specifies whether the port is linked to other transformations in the mapping.
INFA_CT_PORT_STORAGESIZE
Integer
Specifies the internal storage size of the data for a port. The storage size depends on the datatype of the port.
INFA_CT_PORT_BOUNDDATATYPE
Integer
Specifies the port datatype. Use instead of INFA_CT_PORT_CDATATYPE if you rebind the port and specify a datatype other than the default.
The following table lists INFA_CT_INPUTPORT_HANDLE and INFA_CT_OUTPUT_HANDLE property IDs:
Handle Property ID
Datatype
Description
INFA_CT_PORT_NAME
String
Specifies the port name.
INFA_CT_PORT_CDATATYPE
Integer
Specifies the port datatype. The Integration Service returns one of the following values:
  • eINFA_CTYPE_SHORT
  • eINFA_CTYPE_INT32
  • eINFA_CTYPE_CHAR
  • eINFA_CTYPE_RAW
  • eINFA_CTYPE_UNICHAR
  • eINFA_CTYPE_TIME
  • eINFA_CTYPE_FLOAT
  • eINFA_CTYPE_DOUBLE
  • eINFA_CTYPE_DECIMAL18_FIXED
  • eINFA_CTYPE_DECIMAL28_FIXED
  • eINFA_CTYPE_INFA_CTDATETIME
INFA_CT_PORT_PRECISION
Integer
Specifies the port precision.
INFA_CT_PORT_SCALE
Integer
Specifies the port scale, if applicable.
INFA_CT_PORT_IS_MAPPED
Boolean
Specifies whether the port is linked to other transformations in the mapping.
INFA_CT_PORT_STORAGESIZE
Integer
Specifies the internal storage size of the data for a port. The storage size depends on the datatype of the port.
INFA_CT_PORT_BOUNDDATATYPE
Integer
Specifies the port datatype. Use instead of INFA_CT_PORT_CDATATYPE if you rebind the port and specify a datatype other than the default.

0 COMMENTS

We’d like to hear from you!