DSJ.JOBCONTROL (1 = stop, 2 = pause, 3 = resume)
DSJ.JOBPID (process ID of the process running the job)
For DSGetStageInfo(), there is one:
DSJ.VARLIST (comma-separated list of stage variable names)
-----Original Message-----
From: Moderator [mailto:moderator@oliver.com]
Sent: Thursday, 31 May 2001 11:47
To: Ray Wurlod
Cc: daspayth@wwc.com; informix-datastage@oliver.com
Subject: Re: Checking for shutdown request
I feel like an altar boy trying to discuss Theology with the Arch Bishops--I dont even know which questions are worthy and which will cause eyes to roll upwards in disbelief. Oh, well. Such is the risk of digging into a new field of endeavor. Thanks in advance for your collective patience and muffled chuckles.
Ok. Ive looked at the DSGetJobInfo docs in the Server manual, chapters 12 and 14. It seems I can query "myself" as DSJ.ME in argument 1 (hJob). But I dont see any reference to DSJ.JOBCONTROL in the doc. (DSJ.JOBCONTROLLER, yes, but not DSJ.JOBCONTROL).
So am I looking for a return value from DSGetJobInfo that tells me if a stop request has been issued? Or a current "wave number" (whatever that is ) with which to apply Allens technique?
Or have I lost the thread of the discussion already?
![Wink ;-)](./images/smilies/icon_wink.gif)
Thanks for your help.
Regards,
Clif
Wednesday, May 30, 2001, 7:46:55 PM, you wrote:
> Allen,
> How did you determine that field 6 of the JOB record is RT_STATUSnn is
> job control? I presume you looked in DSINCLUDE/RT_STATUS.H
> Did you also look in DSINCLUDE/JOBCONTROL.H where you learn that
> DSGetJobInfo(hJob, DSJ.JOBCONTROL) returns this information?
> Mayhap this is an easier approach?
> Regards,
> Ray