-
multithreading and subpackages
Hi,
I have a package and a sub-package which gets called from the main package. Variables will passed to the sub-package from parent (main) package.
The problem is I’m trying to do multi threading.
In the main package I have a for loop which runs forever(condition always true)
Within that loop
I have three tasks:
First task : extracts some values and populate some variables which will get passed to the subpackage
Second task: called the subpackage
Third task:is the wait task that I have mentioned earlier (waitfor DELAY '00:01:00')
My aim is to be able to run a new instance (with the variables) of the subpackage exactly every minutes regardless of how long the subpackage will take to run.
Thanks in advance
S
-
Why can't you control that via scheduling like windows scheduler or autosys?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|