Counting DataStage jobs

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
jjrbikes
Premium Member
Premium Member
Posts: 117
Joined: Tue Nov 25, 2003 11:09 am
Location: Minneapolis

Counting DataStage jobs

Post by jjrbikes »

Greetings -

Basic Question: Can someone tell me if there is a relatively easy way to assess the number of DataStage jobs in any given installation?

More Info: I am working for a company going through a merger and the time has finally come to make a decision ... DataStage or "the other guy". In a meeting yesterday the question was asked, "just how many DataStage jobs do you currently have running in production?". Holy buckets - I know it's a bunch but how can I find out for sure?

Thanks!!
mk_ds09
Participant
Posts: 72
Joined: Sun Jan 25, 2009 4:50 pm
Location: Pune

Post by mk_ds09 »

hi..

You can use DS_JOBOBJECTS to check how many number of jobs are there.
Conenct and select number of records form the given table..that eventually gives you the number of jobs in given repository !

hope this helps

----------------

MK
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

dsjob -ljobs in the project
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Easiest way to get a count is to LOG TO each and every project individually from the UV account and run the following command

Code: Select all

COUNT DS_JOBS
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 »

... which is what dsjob -ljobs does.

The advantage of dsjob in this case is that you can create a script to loop through the list of project names on the server.

To get a count, simply pipe the output into a wc -l command.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
jjrbikes
Premium Member
Premium Member
Posts: 117
Joined: Tue Nov 25, 2003 11:09 am
Location: Minneapolis

Post by jjrbikes »

Wow! Thanks for the responses!! Just what I needed. :P

Thanks again and have a Great Day!! 8)
Post Reply