query which job is using aggregator stage in project?

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
him121
Premium Member
Premium Member
Posts: 55
Joined: Sat Aug 07, 2004 1:50 am

query which job is using aggregator stage in project?

Post by him121 »

hi..
i want to know which job is using aggregator stage in entire 500+ job
project..
can any one tell me that how can i do query on DS Admin...
or any other method which reduce my time..to search this..

thanx in adcance///
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

You could almost guess it. Each stage type has a corresponding OLETYPE in DS_JOBOBJECTS.

Code: Select all

select
   distinct OLETYPE
from
   DS_JOBOBJECTS
;
Recently I posted a SQL query to join DS_JOBOBJECTS to DS_JOBS. If you cannot find it then ask. You need to get the job name from DS_JOBS. The JOBNO is the common field between the 2 tables.

Please post your solution when you figure it out.
Mamu Kim
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

And if you do not want to do this in Universe you can also do it in the Reporting Assistant database (an Access database by default). The DSSTAGES table has a field called StageType and another called JobName. You can write your own Access query to get project and job names for the aggregator stage type.
crouse
Charter Member
Charter Member
Posts: 204
Joined: Sun Oct 05, 2003 12:59 pm
Contact:

Post by crouse »

or... use the "Usage Analysis" in DS Manager.

Find the Aggregator Stage in the Stages folder, right click on Usage Analysis.

-Craig
Craig Rouse
Griffin Resouces, Inc
www.griffinresources.com
Post Reply