Regarding SCD stage in Datastage 8.0

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
janakiram_ccr
Participant
Posts: 2
Joined: Mon Oct 15, 2007 4:04 am
Location: Bengaluru

Regarding SCD stage in Datastage 8.0

Post by janakiram_ccr »

Hi,

I am very new to Datastage and i am using the version 8.0.

I need to implement a mapping with SCD-type2 logic. Just saw a stage called SCD, so need to know how to use this stage.

Thanks,
Janakiram.C
Janakiram
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Hello and welcome to DSXchange, Janakiram.

If you browse the forums you will see that this site is a good place to get specific questions or problems answered but a bad one to get sample jobs and general explanations. The SCD stage is documented, at least in enough detail to experiment writing a job that uses it. Once you have done that and have encountered a particular problem that you need assistance on you can post that question and you will surely get a very quick and detailed response from one or more of the knowledgeable people in this forum; but your question as it stands right now will not be answered.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Hello and welcome to DSXchange, Janakiram.

If you browse the forums you will see that this site is a good place to get specific questions or problems answered but a bad one to get sample jobs and general explanations. The SCD stage is documented, at least in enough detail to experiment writing a job that uses it. Once you have done that and have encountered a particular problem that you need assistance on you can post that question and you will surely get a very quick and detailed response from one or more of the knowledgeable people in this forum; but your question as it stands right now will not be answered.
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Vincent has a blog on this stage type. Essentially you use one SCD stage for each dimension table, and the result is destined for the fact table. Within the SCD stage you specify for each field whether it is to be handled as Type 1 or Type 2.

The stage manages an in-memory image of the dimension table, and keeps it up to date as the job progresses. A typical job design might look like the following:

Code: Select all

         Dimension1     Dimension2     Dimension3
                |           |           |
                V           V           V
Source -----> SCD1 -----> SCD2 -----> SCD3  ---->  FactTable
                |           |           |
                V           V           V
         Dimension1     Dimension2     Dimension3
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Vincent has a blog on this stage type. Essentially you use one SCD stage for each dimension table, and the result is destined for the fact table. Within the SCD stage you specify for each field whether it is to be handled as Type 1 or Type 2.

The stage manages an in-memory image of the dimension table, and keeps it up to date as the job progresses. A typical job design might look like the following:

Code: Select all

         Dimension1     Dimension2     Dimension3
                |           |           |
                V           V           V
Source -----> SCD1 -----> SCD2 -----> SCD3  ---->  FactTable
                |           |           |
                V           V           V
         Dimension1     Dimension2     Dimension3
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply