Sei sulla pagina 1di 22

Normalizer

Transformation

A Normalizer is an Active transformation that


returns multiple rows from a source row, it
returns duplicate data for single-occurring
source columns.
The Normalizer transformation parses multipleoccurring columns from COBOL sources,
relational tables, or other sources.
Normalizer can be used to transpose the data
in columns to rows.

We can create Normalizer in 2 types


1. VSAM(Virtual Stored Access Method)
A non-reusable transformation that is a Source
Qualifier transformation for a COBOL source.
2.Pipeline Method
A transformation that processes multiple-occurring
data from relational tables or flat files. This is default
when you create a normalizer transformation.

Components

Transformation Enter the name and description of the transformation. The


naming convention for an Normalizer transformation is NRM Transformation
Name. You can also make the pipeline Normalizer transformation reusable.
Ports View the transformation ports and attributes.
Properties Configure the tracing level to determine the amount of transaction
detail reported in the session log file. Choose to reset or restart the generated
key sequence value in the next session.
Normalizer Define the structure of the source data. The Normalizer tab defines
source data as columns and groups of columns.
Metadata Extensions Configure the extension name, datatype, precision, and
value. You can also create reusable metadata extensions.

It generate 2 keys
Generate Key
It is the key value (sequence value) given for each source row.
Generate column id
It is the key value (sequence value) generated for each column.

Click on Sources
tab and select
Import from Flat
File option

To create the
mapping go to
the Mappings
tab and select
CREATE button

Provide the
mapping
name after
that click on
OK

Drag the Flat


File tables to
Mapping
Designer

To create
Normalizer
transformation go
to Transformation
tab Click on
create

Select
Normalizer
Transformatio
n

Enter the Name


of
Transformation
and select the
Create option

RANKINDEX is an output port


only. We can pass the rank
index to another
transformation in the
mapping or directly to a
target. By default It will
come

Normalizer
Transformation is
created and select the
DONE option

Edit the Normalizer


Transformation Go to
Normalizer tab and
create ports

We created two
ports configure
occurs value as
required in Target
table

Select the required


columns from SQ and
Drag and connect the
ports from Source
Qualifier to Rank
Transformation

Here two ports


GK_<Column name>
and GCID_<Column
name> will be created
by normalizer
transformation

Drag and connect


the respective ports
to Target Definition

Sources Table is store

Result

Normalizer Transformation is
used to performs receives a row
that contains multiple-occurring
columns and returns a row for
each instance of the multipleoccurring data

THANK YOU

Potrebbero piacerti anche