How to find the jobs location in Unix sever

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
skyboyfli
Participant
Posts: 32
Joined: Fri Jun 04, 2010 8:21 am
Location: hyd
Contact:

How to find the jobs location in Unix sever

Post 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.
this is nice
samyamkrishna
Premium Member
Premium Member
Posts: 258
Joined: Tue Jul 04, 2006 10:35 pm
Location: Toronto

Re: How to find the jobs location in Unix sever

Post by samyamkrishna »

You want the job list or are you looking for a particular job.
skyboyfli
Participant
Posts: 32
Joined: Fri Jun 04, 2010 8:21 am
Location: hyd
Contact:

Re: How to find the jobs location in Unix sever

Post 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.
this is nice
samyamkrishna
Premium Member
Premium Member
Posts: 258
Joined: Tue Jul 04, 2006 10:35 pm
Location: Toronto

Re: How to find the jobs location in Unix sever

Post by samyamkrishna »

The command is

dsjob -ljobs projectname

If this does not work try exporting the dsenv before you run teh command.
skyboyfli
Participant
Posts: 32
Joined: Fri Jun 04, 2010 8:21 am
Location: hyd
Contact:

Re: How to find the jobs location in Unix sever

Post 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..
this is nice
samyamkrishna
Premium Member
Premium Member
Posts: 258
Joined: Tue Jul 04, 2006 10:35 pm
Location: Toronto

Re: How to find the jobs location in Unix sever

Post 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.
skyboyfli
Participant
Posts: 32
Joined: Fri Jun 04, 2010 8:21 am
Location: hyd
Contact:

Re: How to find the jobs location in Unix sever

Post 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
this is nice
samyamkrishna
Premium Member
Premium Member
Posts: 258
Joined: Tue Jul 04, 2006 10:35 pm
Location: Toronto

Re: How to find the jobs location in Unix sever

Post by samyamkrishna »

skyboyfli
Participant
Posts: 32
Joined: Fri Jun 04, 2010 8:21 am
Location: hyd
Contact:

Re: How to find the jobs location in Unix sever

Post by skyboyfli »

samyamkrishna wrote:Go through this post.

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

How to get the jobid from designer
this is nice
samyamkrishna
Premium Member
Premium Member
Posts: 258
Joined: Tue Jul 04, 2006 10:35 pm
Location: Toronto

Re: How to find the jobs location in Unix sever

Post by samyamkrishna »

Sorry I dont understand your question.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
skyboyfli
Participant
Posts: 32
Joined: Fri Jun 04, 2010 8:21 am
Location: hyd
Contact:

Post 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..!
this is nice
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can get a premium membership fairly quickly.
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