Key Generator Transformation In Idq

Posted on  by 

What is Sequence Generator Transformation?

The Key Generator transformation passed data in groups to the Match transformation, so that the Match transformation performs serial matching operations on data subsets that share the same group keys. The Key Generator transformation can analyze any string input to create the group keys. New Features of Informatica-9 Vijay Bhaskar 2/02/2010 10 Comments. Informatica version 9 provides data quality transformations like address-validator, multi-strategy (Case, Decision, Key Generator, Labeler, Match, Merge, Parser, and Standardizer) and decision transforamtion.

Sequence generator transformation is passive so it does not affect the number of input rows. The sequence generator is used to generate primary key values & it’s used to generate numeric sequence values like 1, 2, 3, 4, 5 etc.

For example, you want to assign sequence values to the source records, then you can use sequence generator. The generated sequence values can be like 5, 10, 15, 20, 25 etc. or 10, 20, 30, 40, 50 etc. depending upon the configured properties of the transformation.

Sequence generator has two output ports

  • CURRVAL

CURRVAL port value is always NEXTVAL+1.

To generate the sequence numbers, we always use the NEXTVAL column.

Properties of Sequence Generator Transformation

  • Start Value – It is the first value that will be generated by the transformation, the default value is 0.
  • Increment by – This is the number by which you want to increment the values. The default value is 1.
  • End value – It is the maximum value that the transformation should generate.
  • Cycle – if this option is set then after reaching the end of the value, the transformation restarts from the start value.
Transformation

In this example, we will generate sequence numbers and store in the target.

Step 1 – Create a target table with the following script.

Step 2- Import the table in Informatica as target table

Step 3 – Create a new mapping and import EMP source and EMP_SEQUENCE target table

Step 4 – Create a new transformation in the mapping

  1. Select sequence transformation as the type
  2. Select Create option

Step 5 - Sequence generator transformation will be created, select the done option

Key Generator Transformation In Idq

Step 6 - Link the NEXTVAL column of sequence generator to SNO column in target

Key generator transformation in idq 2

Step 7 – link the other columns from source qualifier transformation to the target table

Step 8 – Double click on the sequence generator to open property window, and then

  1. Enter the properties with Start value =1, leave the rest properties as default

Now save the mapping and execute it after creating the session and workflow.

The sno column in the target would contain the sequence numbers generated by the sequence generator transformation.

In our example, the sequences will be like 1 – Scott, 2 – King, 3 – Adam, 4 – Miller, etc.

Beside supporting normal ETL/data warehouse process that deals with large volume of data, Informatica tool provides a complete data integration solution and data management system. In this tutorial,you will learn how Informatica does various activities like data cleansing, data profiling, transforming and scheduling the workflows from source to target in simple steps etc.

Key Highlights of Informatica Tutorial PDF are

Key Generator Transformation In Idq 2017

  • 234+ pages
  • eBook Designed for beginners
  • Beautifully annotated screenshots
  • You will get lifetime access

Inside this PDF

Key Generator Transformation In Idq 1

  1. Introduction to Informatica
  2. Informatica Architecture Tutorial
  3. How to Download & Install Informatica PowerCenter
  4. How to Configure Client and Repository in Informatica
  5. Source Analyzer and Target Designer in Informatica
  6. Mappings in Informatica: Create, Components, Parameter, Variable
  7. Workflow in Informatica: Create, Task, Parameter, Reusable, Manager
  8. Workflow Monitor in Informatica: Task & Gantt Chart View Examples
  9. Debugger in Informatica: Session, Breakpoint, Verbose Data & Mapping
  10. Session Properties in Informatica
  11. INFORMATICA Transformations Tutorial & Filter Transformation
  12. Source Qualifier Transformation in Informatica with EXAMPLE
  13. Aggregator Transformation in Informatica with Example
  14. Router Transformation in Informatica with EXAMPLE
  15. Joiner Transformation in Informatica with EXAMPLE
  16. Rank Transformation in Informatica with EXAMPLE
  17. Sequence Transformation in Informatica with EXAMPLE
  18. Transaction Control Transformation in Informatica with EXAMPLE
  19. Lookup Transformation in Informatica & Re-usable Transformation Example
  20. Normalizer Transformation in Informatica with EXAMPLE
  21. Performance Tuning in Informatica

Key Generator Transformation In Idq Training

Want alternative payment options? Contact us here

Coments are closed