How to update multiple jobs

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
yabhinav
Participant
Posts: 37
Joined: Wed Mar 05, 2008 11:54 pm
Location: Hyderabad

How to update multiple jobs

Post by yabhinav »

Hi,
We have 50 jobs that are calling an oracle function in an oracle stage. We have recently changed the name of the function, so i need to update the all the 50 jobs!! Is there a way in this can be done in one shot?

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

Post by ArndW »

I think your best bet would be to export a job with old, then make the changes and export the job again and run a "diff" on the two .dsx files. Then export all of the jobs into a .dsx file and perform a global replace on it and re-import the jobs.
yabhinav
Participant
Posts: 37
Joined: Wed Mar 05, 2008 11:54 pm
Location: Hyderabad

Post by yabhinav »

Thanks for the advice , it worked!! and it was much faster than opening them manually and making the changes
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Wow - that was fast work indeed!
Post Reply