Director cannot get job status

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
Unfriendly
Participant
Posts: 4
Joined: Mon Jan 09, 2006 9:44 am

Director cannot get job status

Post by Unfriendly »

Datastage Director leaves an error message and a disabled job after refreshing a directory.

An error message:
Error calling subroutine: DSR_EXECJOB (Action=5); check DataStage is set up correctly in project xxxxx
(Subroutine failed to complete successfully (30107))

is posted when a certain directory is opened in Director.
One of the jobs cannot be started from a sequence but can be started manually.
This job has the following description: !!Error getting job status!!

If we remove this job the next one in the directory gets the same error.

We have tried rebuilding the indices and restarting the server.

Any ideas would be greatly appreciated.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

It would seem that your project might be corrupted. When you did the DS.REINDEX did you check to see if any error messages were listed? You might also try running the TCL command DS.CHECKER when no users are logged into the project and look at the output carefully to see if any errors are shown.

Is this a new error that has suddenly occurred? Can you think of something that happened on the machine that might define a "before the error" and "after the error"?
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Welcome aboard! Is this a new installation, a new project, etc? Have you looked at the permissions of the userid used logging into the Director client? Do they have permissions to the project directory?
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Check the free space on the file system for the project, plus make sure your /tmp isn't full.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Execute the following commands to identify possibly corrupted storage.

Code: Select all

UVFIXFILE DS_JOBS
UVFIXFILE DS_JOBOBJECTS
UVFIXFILE RT_CONFIG805
UVFIXFILE RT_STATUS805
UVFIXFILE RT_LOG805
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Unfriendly
Participant
Posts: 4
Joined: Mon Jan 09, 2006 9:44 am

Post by Unfriendly »

Tried the UVFIXFILE as requested.
There is no warning or error message is there?

However the UVFIXFILE RT_STATUS807 and
UVFIXFILE RT_CONFIG807

gave the following output:

1 group(s) processed
1 group buffer(s) processed
0 record(s) processed.

Where everything else processed a number of records this processed 0 records. is this the problem?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If you do a COUNT DS_JOBS or COUNT DS_JOBOBJECTS do you get 0 records for either or both? If so, then you have a problem that will probably necessitate restoring a backup.
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No error or warning message from UVFIXFILE proves that no corruption was found in any of the (hashed) files processed. It is important to eliminate corruption as a cause of your problem.

Re-reading the error message, the corruption is actually in job number 807, so it is these commands that were needed. Sorry about misreading.

Code: Select all

UVFIXFILE DS_JOBS 
UVFIXFILE DS_JOBOBJECTS
UVFIXFILE RT_CONFIG807
UVFIXFILE RT_STATUS807
UVFIXFILE RT_LOG807


(You can skip DS_JOBS and DS_JOBOBJECTS, since you've done them already.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Unfriendly
Participant
Posts: 4
Joined: Mon Jan 09, 2006 9:44 am

Post by Unfriendly »

I ran uvfixfile on 807 the first time and result is as previously posted.
No error messages on any of them.

COUNT DS_JOBS
returned 829

COUNT DS_JOBOBJECTS
returned 11538
Post Reply