0% found this document useful (0 votes)
21 views13 pages

Session-29_Normalizer, Transaction Control Transformation

Uploaded by

sai Charan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views13 pages

Session-29_Normalizer, Transaction Control Transformation

Uploaded by

sai Charan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

• Informatica :

• Transaction Control Transformation


• Normalizer Transformation
• Mapping – Dynamically creating flat file based on city
• Mapping – Dynamically creating flat file name based on date
TRANSACTION CONTROL
TRANSFORMATION
(ACTIVE & CONNECTED )
Transaction control Transformation:

Transaction Control is an active and connected transformation.


The transaction control transformation is used to control the commit and rollback of transactions.
You can define a transaction based on varying number of input rows.

Use the following built-in variables in the expression editor of the transaction control
transformation,
• TC_CONTINUE_TRANSACTION – IS does not perform any change in the transaction for this row.
• TC_COMMIT_BEFORE – IS Commits the transaction, begins a new transaction, and writes the
current row to the target. The current row is in the new transaction.
• TC_COMMIT_AFTER – IS writes the current row to the target, commits the transaction, and
begins a new transaction. The current row is in the committed transaction.
• TC_ROLLBACK_BEFORE – IS rolls back the current transaction, begins a new transaction, and
writes the current row to the target. The current row is in the new transaction.
• TC_ROLLBACK_AFTER – IS writes the current row to the target, rolls back the transaction, and
begins a new transaction. The current row is in the rolled back transaction.

If the mapping has a flat file target you can generate an output file each time the Integration Service
starts a new transaction. You can dynamically name each target flat file.
Transaction Control Transformation
Transaction Control Transformation
Normalizer Transformation
(ACTIVE & CONNECTED )
Normalizer Transformation
Normalizer Transformation
Normalizer Transformation
Normalizer Transformation
Normalizer Transformations

• The Normalizer transformation receives a row that contains multiple-occurring


columns and returns a row for each instance of the multiple-occurring data.
• The transformation processes multiple-occurring columns or multiple-occurring
groups of columns in each source row.

Active Transformation
Connected

Ports
• Input / output or output

Usage
• Required for
VSAM(COBAL) Source
definitions
• Normalize flat file or
relational source
definitions
• Generate multiple
records from one record
Normalizer Transformations

Turn one row


YEAR,ACCOUNT,MONTH1,MONTH2,MONTH3, … MONTH12
1997,Salaries,21000,21000,22000,19000,23000,26000,29000,29000,34000,34000,40000,45000
1997,Benefits,4200,4200,4400,3800,4600,5200,5800,5800,6800,6800,8000,9000
1997,Expenses,10500,4000,5000,6500,3000,7000,9000,4500,7500,8000,8500,8250

Into multiple rows


Normalizer Transformations

Generated Column ID

You might also like