User bio
404 bio not found
Member since Mar 26, 2019
Posts:
Replies:
Ashok,
I recommend that You have:
Set sc = workMgr.Queue("..Cleanup",QueueId)
and also:
Set sc = workMgr.WaitForComplete()
Do workMgr.Clear()
All this will ensure a relegable and smooth completion of the queue manager.
We never used any hung when adding tasks into the queue.
Hi Ashok,
For the queue manager to recognize a proper completion of any code, it should be defined as a function.
If you test the sc for subr1 you will see a <PARAMETER> error. This is why the () is required.
It is better to have a quit $$$OK (or Quit 1) at the end, but this is not mandatory.
Certifications & Credly badges:

Global Masters badges:







Followers:
Following:
Thanks David,
The issue is that tasks are flag as "Reschedule task after system restart" = Yes, but IRIS was not restarted.
Only a mirror switch occurred. I;m not sure if a mirror switch does this re-calculation on times.