Can anybody please suggest a way for a Job to stop itself, if a check
condition fails within the job.
There is a DSStopJob Function, but it needs to have JobHandle. According to
the document, the only way to get the job handle is through DSAttachJob
function. Since the job will be in the running mode, I can not get the job
handle using the DSAttachJob function.
Can anybody suggest another way to stop the job without aborting using Call
DSLogFatal
_________________ PLEASE READ
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
_________________ PLEASE READ
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
Can anybody please suggest a way for a Job to stop itself, if a check
condition fails within the job.
There is a DSStopJob Function, but it needs to have JobHandle. According to
the document, the only way to get the job handle is through DSAttachJob
function. Since the job will be in the running mode, I can not get the job
handle using the DSAttachJob function.
Can anybody suggest another way to stop the job without aborting using Call
DSLogFatal
_________________ PLEASE READ
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
I tried DSJ.ME, the response is DSJE.BADHANDLE (invalid handle).
Thanks,
Dharmendra
-----Original Message-----
From: datastage-users-bounces@oliver.com
[mailto:datastage-users-bounces@oliver.com]On Behalf Of Tony Stark
Sent: Thursday, March 25, 2004 1:05 PM
To: DataStage Users Discussion List
Subject: Re: How can a DataStage Job that is in Running State Stop
itself upon failed condition?
Can you use DSJ.ME for the job handle?
Tony
"Patel, Dharmendra" wrote:
Hi All,
Can anybody please suggest a way for a Job to stop itself, if a check
condition fails within the job.
There is a DSStopJob Function, but it needs to have JobHandle. According to
the document, the only way to get the job handle is through DSAttachJob
function. Since the job will be in the running mode, I can not get the job
handle using the DSAttachJob function.
Can anybody suggest another way to stop the job without aborting using Call
DSLogFatal
_________________ PLEASE READ
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
Add To Favorites View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum