|
On Nov 2, 2023, at 4:27 PM, Dan <dan27649@xxxxxxxxx> wrote:
Thanks Jon,
I defer to your judgement, but it seems to me that a one-time override
would have far less overhead than multiple CHAIN retries that could occur
for hundreds of different CHAIN attempts. (FWIW, this is a batch program
that runs in the middle of the night.)
We could also vary the WAITRCD value, if desired, depending on run-time
factors.
- Dan
On Thu, Nov 2, 2023 at 3:22 PM Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:
For starters, I personally don't like the approach of issuing an override--
to the wait time. There is overhead in issuing that command.
But what I meant was that it was easier to vary the wait time this way. In
one case the probability of encountering a lock was higher at certain times
of the day. So at those times, we would increase the sleep time before
retrying and in some cases put out a "retry" message to the user. etc. etc.
Jon P.
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.