Identify if job is in 'COMPILED' status

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
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Identify if job is in 'COMPILED' status

Post by zulfi123786 »

Hi,

I want to check from command line if a job is exactly in 'COMPILED' state as it appears in Director.

After having looked at dsapi.h there is no exact code for 'COMPILED' the next close is
#define DSJS_NOTRUNNING 99
by which I cant exactly say if its in compiled state.

The below IBM link says 99 corresponds to 'COMPILED' :?

https://www-304.ibm.com/support/docview ... wg21469644

The director exactly pick up the job status so I guess there should be some way (may in somewhere in UNIVERSE tables ? ) where the exact status could be tracked for Compiled jobs.

I am sure many people here would have explored this out, any help would be appreciated.

Thanks in advance.
- Zulfi
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Check for 99 / DSJS_NOTRUNNING and call it COMPILED if you like. Not running implies runnable and it must be compiled to be in that state. This as opposed to 98 / Not Compiled.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DSJS_NOTRUNNING means that the job has been compiled but has not been run since it was most recently compiled.
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