Foreign Key Relationship

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Ekkehard
Charter Member
Charter Member
Posts: 5
Joined: Fri Apr 18, 2003 11:54 pm
Location: Germany

Foreign Key Relationship

Post by Ekkehard »

Is there any way to resolve a database foreign key relationship automatically in DataStage. My input is e.g. a partner id and then I want to extract all data from tables which are related to this specific partner (there are existing multilevel dependencies).
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not really.

If you import from a DCLGen and the foreign key relationships are stated in that, then DataStage will detect them.

You can manually edit DataStage's "table definitions" that result from the import, and thus identify foreign key relationships, but I don't believe there is any way for DataStage actually to detect these relationships.

Of course, if you are aware that the relationship exists you can design accordingly. But that's not quite the same thing.
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