dsjob -jobinfo: no info!!!!

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
sangi1981
Participant
Posts: 99
Joined: Fri Jun 13, 2008 8:10 am

dsjob -jobinfo: no info!!!!

Post by sangi1981 »

Hi,
I'm using dsjob -jobinfo to obtain statistical information about jobs.
The command does not give errors of execution, but the result is always the same, namely:

Code: Select all

Job Status: NOT RUNNING (99)
Job Controller: not avalaible
etc. ....
The problem is that the job was executed successfully.
The project is not under the standard path: /opt/IBM/InformationServer/Projects, but in another directory.
If I run the same command for a job in project of standard path, it works.

What is the problem? How can I fix it?
Thank you very much
samyamkrishna
Premium Member
Premium Member
Posts: 258
Joined: Tue Jul 04, 2006 10:35 pm
Location: Toronto

Re: dsjob -jobinfo: no info!!!!

Post by samyamkrishna »

You might have to run DS.REINDEX ALL
arvind_ds
Participant
Posts: 428
Joined: Thu Aug 16, 2007 11:38 pm
Location: Manali

Post by arvind_ds »

Source in dsenv file using dsadm user and then run the dsjob command and see if it works.
Arvind
arvind_ds
Participant
Posts: 428
Joined: Thu Aug 16, 2007 11:38 pm
Location: Manali

Post by arvind_ds »

If it doesn't work, make sure to include ......../Server/DSEngine/bin in your PATH variable and that too in dsenv file. HTH
Arvind
sangi1981
Participant
Posts: 99
Joined: Fri Jun 13, 2008 8:10 am

Post by sangi1981 »

Hi,
I have two project: the first (devel) under
/opt/IBM/InformationServer/Projects
the second (prod) in other directory, like /u/...

So, I have the same job in both two project.
When I execute: dsjob -jobinfo DEVEL_PROJ job
I obtain correct result ; otherwise, when I execute
dsjob -jobinfo PROD_PROJ job, it seems like job didn't run.
arvind_ds
Participant
Posts: 428
Joined: Thu Aug 16, 2007 11:38 pm
Location: Manali

Post by arvind_ds »

Did you check the datastage director in your PROD environment for the particular job,whether it was executed or not. If yes, you should get the jobinfo by using dsjob command.
Arvind
Post Reply