Column generator

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Rimna
Participant
Posts: 3
Joined: Mon Jan 24, 2005 10:22 pm

Column generator

Post by Rimna »

What purpose does the stage Column generator in PX serve.
vigneshra
Participant
Posts: 86
Joined: Wed Jun 09, 2004 6:07 am
Location: Chennai

Post by vigneshra »

Hi Rimna,

The purpose of the column generator is very much evident from it's name, generation of a new column. It has a wide range of use. One of it's key uses is the generation of dummy column. You can do a search in this forum to know more about the column generator stage. You cannot really pin-point the use of a column generator stage. Briefly, it generates columns :)
Vignesh.

"A conclusion is simply the place where you got tired of thinking."
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard! :D

One simple example for needing an extra column is to add a (constant) identifier of the data source where you have more than one source. For example, you might identify all data from store A with 'A' and all data from store B with 'B'. These might be useful in downstream processing, and might even become values in a "store" dimension.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
T42
Participant
Posts: 499
Joined: Thu Nov 11, 2004 6:45 pm

Post by T42 »

You can also generate surrogate key values.

The Surrogate Key Stage is a child of that operator, I believe.
Post Reply