Status column in DataStage Director

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
lordlebu
Participant
Posts: 9
Joined: Mon May 21, 2012 8:35 am
Location: Calcutta

Status column in DataStage Director

Post by lordlebu »

Hi All,

I wanted to now how the status column of datastage director is defined or how it is derived.

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

Post by chulett »

It reads the job's current status which is stored in the RT_STATUSnnn table.
-craig

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

Post by ray.wurlod »

There is a separate RT_STATUSnnn table for each job. The information is not summarised anywhere. The nnn is the unique job number allocated by DataStage when the job is created and which is recorded as JOBNO in the DS_JOBS table (whose key is NAME, the job name).

The status of each active or hybrid stage is also stored in the RT_STATUSnnn table for the job. This information is viewable in the Monitor view of Director.

Status is stored as a TinyInt; it can be decoded using mnemonics that can be found in the JOBCONROL.H header file. For example 0 is "running", 1 is "finished OK", 2 is "finished (see log)", 3 is "aborted", 21 is "has been reset", etc. From memory there are about 12 possible status values.
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