How to export every job in the project(one xml per job)

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
yimwai
Participant
Posts: 46
Joined: Thu Jul 01, 2010 9:34 pm

How to export every job in the project(one xml per job)

Post by yimwai »

Is there any way to export all the jobs not into one single file,but rather one xml file per job,and the xml file can be put in the same directory as the job's location in the designer.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not that I am aware of. You could always script something from the command line, use the dsjob functionality to get all of the jobs and then loop through them, exporting them individually. Or people have posted 'cutter' scripts over the years, perhaps something in these threads can be adopted to your needs:

viewtopic.php?t=113429

viewtopic.php?t=85518
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply