Resetting a job

Archive of postings to DataStageUsers@Oliver.com. This forum intended only as a reference and cannot be posted to.

Moderators: chulett, rschirm

Locked
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Resetting a job

Post by admin »

Is there a DS type function that will reset a job or batch that is in a error condition?

--
Michael Feckler mfeckler@onel.com
Minneapolis, MN
952-996-9145
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Post by admin »

Did you mean from the command line?

dsjob -run -mode RESET


Thursday, April 12, 2001, 2:36:42 PM, you wrote:

> Is there a DS type function that will reset a job or batch that is in
> a error condition?

> --
> Michael Feckler mfeckler@onel.com
> Minneapolis, MN
> 952-996-9145
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Post by admin »

DSRunJob(hJob, DSJ.RUNRESET) will do this.

Note that you may need to detach the job after resetting it, then attach it anew before running it, to avoid possible "attach locked" errors. This is because you can not guarantee that the process that resets the job is the same process that runs the job.

-----Original Message-----
From: Michael Feckler [mailto:mfeckler@onel.com]
Sent: Friday, 13 April 2001 05:37
To: informix-datastage@oliver.com
Subject: Resetting a job


Is there a DS type function that will reset a job or batch that is in a error condition?

--
Michael Feckler mfeckler@onel.com
Minneapolis, MN
952-996-9145
Locked