Stage Dependency

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
altruist
Participant
Posts: 73
Joined: Thu May 11, 2006 6:50 am

Stage Dependency

Post by altruist »

Hi

Can I have Dependency on Stages within Datastage Job instead of Sequence ?

For instance, I wan to run update/insert query on two tables, but they have to be performed one after the other with same dataset. Do I have to go for the sequence for this functionality? Is there a way that I can implement this functionality within the same datastage job?
Mike
Premium Member
Premium Member
Posts: 1021
Joined: Sun Mar 03, 2002 6:01 pm
Location: Tampa, FL

Post by Mike »

Many of the database connectors support multiple input links now. See if that will meet your needs.

What is your target database?

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

Post by ray.wurlod »

I prefer to use two jobs from a sequence. The first job identifies the inserts and updates, writes the inserts to a Data Set, and performs the updates. The second job performs the inserts.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
altruist
Participant
Posts: 73
Joined: Thu May 11, 2006 6:50 am

Post by altruist »

I have chosen PL/SQL block in the options and executed the insert and then update sql.

I have tested it, and it works fine.

Do you think this could cause any unknown issues later down the road.
Post Reply