How to get list of jobs used in a sequence?

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
MVL
Premium Member
Premium Member
Posts: 33
Joined: Wed Apr 30, 2008 5:43 am

How to get list of jobs used in a sequence?

Post by MVL »

From command prompt can we find out names of all the jobs used in a sequence? Is there any table which can be used?

I was thinking of reading the log file of sequence, but is there any better option?

Thanks
DS_SUPPORT
Premium Member
Premium Member
Posts: 232
Joined: Fri Aug 04, 2006 1:20 am
Location: Bangalore

Post by DS_SUPPORT »

This can be done by doing a select in DS_JOBOBJECTS, Kim Duke has posted the code already. Do a Search, alternatively you can open the jobcontrol of the Sequence, and look at the first part. If you have followed some naming conventions for your jobs, it would be easy to extract from there.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

look into the dssearch command. It should be in the manual under Command line Interface. Or search for it here.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The only way to get a list of the jobs USED in a job sequence is to read the log. The easiest way is to check the event called "summary of sequence run".

This is because the logic of a job sequence (triggers, nested condition activities) may cause some of the jobs in the job sequence design not to be executed under some circumstances.
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