Page 1 of 1

dsjob -jobinfo: no info!!!!

Posted: Fri Dec 17, 2010 4:58 am
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

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

Posted: Fri Dec 17, 2010 6:20 am
by samyamkrishna
You might have to run DS.REINDEX ALL

Posted: Fri Dec 17, 2010 6:52 am
by arvind_ds
Source in dsenv file using dsadm user and then run the dsjob command and see if it works.

Posted: Fri Dec 17, 2010 6:55 am
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

Posted: Fri Dec 17, 2010 9:05 am
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.

Posted: Fri Dec 17, 2010 9:18 am
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.