Page 1 of 1
Resetting a job
Posted: Thu Apr 12, 2001 7:36 pm
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
Posted: Thu Apr 12, 2001 9:51 pm
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
Posted: Sat Apr 14, 2001 3:52 am
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