Page 1 of 1

How to find the jobs location in Unix sever

Posted: Thu Dec 30, 2010 4:41 am
by skyboyfli
Hi
How to find the list of jobs in unix level
i am able to find the projects location in my server
/opt/IBM/InformationServer/Server/Projects/dev_EDSE_S1_D

in that how to get the jobs list.


Thanks in advance.

Re: How to find the jobs location in Unix sever

Posted: Thu Dec 30, 2010 4:52 am
by samyamkrishna
You want the job list or are you looking for a particular job.

Re: How to find the jobs location in Unix sever

Posted: Thu Dec 30, 2010 5:25 am
by skyboyfli
samyamkrishna wrote:You want the job list or are you looking for a particular job.
I want the both infact.

i tried to search with dsjob -ljobs but it returned NONE

Could you help on this.

Re: How to find the jobs location in Unix sever

Posted: Thu Dec 30, 2010 5:29 am
by samyamkrishna
The command is

dsjob -ljobs projectname

If this does not work try exporting the dsenv before you run teh command.

Re: How to find the jobs location in Unix sever

Posted: Thu Dec 30, 2010 5:43 am
by skyboyfli
samyamkrishna wrote:The command is

dsjob -ljobs projectname

If this does not work try exporting the dsenv before you run teh command.
can you tell me how to export dsenv

i already tried with dsjob -ljobs projectname
$ /opt/IBM/InformationServer/v812/Server/DSEngine/bin/dsjob -ljobs dev_EDSE_S1_D
<none>

Status code = 0


And how to find Perticular job..

Re: How to find the jobs location in Unix sever

Posted: Thu Dec 30, 2010 5:45 am
by samyamkrishna
run

. /opt/IBM/InformationServer/v812/Server/DSEngine/dsenv

and then run the dsjob command.
let me know if it works out or not.

Re: How to find the jobs location in Unix sever

Posted: Thu Dec 30, 2010 6:00 am
by skyboyfli
samyamkrishna wrote:run

. /opt/IBM/InformationServer/v812/Server/DSEngine/dsenv

and then run the dsjob command.
let me know if it works out or not.
Yes it is working it is giving list of options.
i tried the options they are working but ljobs is not working.

infact when i am running the job like
/opt/IBM/InformationServer/v812/Server/DSEngine/bin/dsjob -run dev_EDSE_S1_D Dsget i am getting error like:
Error running job

Status code = -99 DSJE_REPERROR

Re: How to find the jobs location in Unix sever

Posted: Thu Dec 30, 2010 6:05 am
by samyamkrishna

Re: How to find the jobs location in Unix sever

Posted: Thu Dec 30, 2010 6:26 am
by skyboyfli
samyamkrishna wrote:Go through this post.

http://dsxchange.com/viewtopic.php?t=13 ... c665e94b4d
Thanks,

How to get the jobid from designer

Re: How to find the jobs location in Unix sever

Posted: Thu Dec 30, 2010 6:58 am
by samyamkrishna
Sorry I dont understand your question.

Posted: Thu Dec 30, 2010 3:36 pm
by ray.wurlod
You don't need jobid - that's just there in case you want to establish an alias for the job name. Simply use the job name. Make sure, before attempting to run a job, that it is in a runnable state - that is, compiled, not already running and not aborted/crashed. You can determine this with the -jobinfo option of the dsjob command.

Posted: Mon Jan 03, 2011 5:51 am
by skyboyfli
ray.wurlod wrote:You don't need jobid - that's just there in case you want to establish an alias for the job name. Simply use the job name. Make sure, before attempting to run a job, that it is in a runnable state - ...
sorry i am not able to see what you have posted as i am not a premium member.
Could anybody tell me the information provided in that post.

Its a kind of urgent..!

Posted: Mon Jan 03, 2011 2:45 pm
by ray.wurlod
You can get a premium membership fairly quickly.