Surrogate Key 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
rob47329
Participant
Posts: 6
Joined: Fri Jan 23, 2009 10:47 am

Surrogate Key stage in Datastage 8.0

Post by rob47329 »

Hello all,

I currently work with DS 7.5.2 and am wondering if the surrogate key stage in DS 8.x accepts a table name as an option.

In 7.5.2 it only accepts a 'starting value'.

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

Post by ray.wurlod »

Welcome aboard. The short answer is that it does not. You create a job to initialize the next key value by effecting a SELECT against the table.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rob47329
Participant
Posts: 6
Joined: Fri Jan 23, 2009 10:47 am

Post by rob47329 »

Sounds like 8.x will still require a routine to get the result of query to the surrogate stage.

thx
Robert
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No, you can do it with a job. A server job is probably the more efficient since only one row is to be processed.
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