Extract Information of jobs in universe

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

Post Reply
Luciana
Participant
Posts: 60
Joined: Fri Jun 10, 2005 7:22 am
Location: Brasil

Extract Information of jobs in universe

Post by Luciana »

Hi,

I want to extract through where clause used in a project all jobs do we have with status running

Thanks in a advance,

Luciana
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not possible.

The status of each job is recorded in a separate table.

Thus for 30 jobs you would need 30 SELECT statements.

Don't do it. There's a perfectly good API available. You still need to cycle through all the job names, but it's easier to do in the API than in DataStage/SQL.

Incidentally, DataStage engine has not been UniVerse since version 5.2.
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