SCD stage -- output link

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
edwds
Premium Member
Premium Member
Posts: 32
Joined: Mon May 01, 2006 1:06 pm

SCD stage -- output link

Post by edwds »

Is it Mandatory to have an Output link from the SCD stage in the ETL job when using a SCD stage.

I am using a SCD stage in my job to load the Dimension table. I don't want the output sent to a file.

If I just use one link to the Dimension table and NO output links, it gives the following error:

The required output link for the SCD stage 'SCD' was not found!
JRodriguez
Premium Member
Premium Member
Posts: 425
Joined: Sat Nov 19, 2005 9:26 am
Location: New York City
Contact:

Re: SCD stage -- output link

Post by JRodriguez »

It's mandatory ... that's the nature of the beast ...


edwds wrote:Is it Mandatory to have an Output link from the SCD stage in the ETL job when using a SCD stage.

I am using a SCD stage in my job to load the Dimension table. I don't want the output sent to a file.

If I just use one link to the Dimension table and NO output links, it gives the following error:

The required output link for the SCD stage 'SCD' was not found!
Julio Rodriguez
ETL Developer by choice

"Sure we have lots of reasons for being rude - But no excuses
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

... but you can direct it to a Sequential File stage that appends to /dev/null if you wish to discard the records.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

I send the fact output to a copy link that goes nowhere and reduce that output to just one column for speed.
Raftsman
Premium Member
Premium Member
Posts: 335
Joined: Thu May 26, 2005 8:56 am
Location: Ottawa, Canada

Post by Raftsman »

Would it not be more efficient to sent the SCD Output link to a Peek other that a copy. Would the copy not chew up resources?

Thanks
Jim Stewart
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A Copy stage with no output links serves as a sink and consumes no (or negligible) resources. Look at the score for the job.
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