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
Resetting a job
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
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
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
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