Reset jobs via command line dsjob

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
latadrawal
Participant
Posts: 7
Joined: Mon May 10, 2004 2:07 pm

Reset jobs via command line dsjob

Post by latadrawal »

Hi,

Could someone please help me on how to use the command line 'dsjob' to be able to reset a DataStage job rather than resetting through the GUI ?

Also, is there a way to restrict ability to only reset a job but not be able to execute it ?

Thanks.
dhiraj
Participant
Posts: 68
Joined: Sat Dec 06, 2003 7:03 am

Post by dhiraj »

the code given below should reset the specified job.

Code: Select all


dsjob run -mode RESET  -wait <proj> <jobname>

Dhiraj
latadrawal
Participant
Posts: 7
Joined: Mon May 10, 2004 2:07 pm

Post by latadrawal »

Dhiraj,

Thanks for the quick response, but I am testing to be able to reset the job with an ID that does not have the privilege to run the job.
Are execute privileges on the job a must to be able to reset it ?

I am trying to restrict access level on the jobs to different users.

Thanks,
- Lata.
dhiraj wrote:the code given below should reset the specified job.

Code: Select all


dsjob run -mode RESET  -wait <proj> <jobname>

Dhiraj
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Since reset is a form of run you will not be able to allow reset to a user ID that does not have authority to run the job.
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