How do I count the total number of Jobs is a project?

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

Lotus26
Premium Member
Premium Member
Posts: 48
Joined: Tue Jul 13, 2004 2:09 pm

Post by Lotus26 »

Thanks All! It worked now after setting the DSHOME Variable.
ray.wurlod wrote:... but the count will be given in the status bar. 8)
Regards
Lotus26
rachitha
Participant
Posts: 30
Joined: Wed Jun 28, 2006 10:53 am

Post by rachitha »

ray.wurlod wrote:... but the count will be given in the status bar. 8) ...
SELECT MAX(JOBNO) FROM DS_JOBS .

execute this query DS Admin command

Thanks
Rachitha
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:? No... that would just select the highest job number issued so far. More than likely, that will have very little resemblance to the actual number of jobs in the project... unless you've never deleted any jobs or imported jobs into the project that already existed.
-craig

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