|
-----Original Message-----
------------------------------
message: 2
date: Sat, 29 Mar 2025 10:10:50 -0500
from: Jim Oberholtzer <midrangel@xxxxxxxxxxxxxxxxx>
subject: Re: Speed of objects unlocking and subsequent CLRLIB failing
Jim raises a good point that IBM i may not have finished writing cache to
storage and therefore had a lock on the object. I?ve never seen that
behavior before, then again the number of times I?ve done that is fewer
than 5 in 40 years.
Jim Oberholtzer
Agile Technology Architects
On Mar 29, 2025, at 8:29?AM, Jim Franz <franz9000@xxxxxxxxx> wrote:
?Dan,
What was running prior to the CLRLIB? Something was taking its time
finishing, releasing locks. I doubt (without really knowing) this is
because it's QTEMP...but have had multiple instances of other
operations still completing but the program has moved to the next step.
You could monmsg the clrlib and retry (after 1 second delay). What
pieces of a various commands, especially releasing resources, are
asynch we don't really know.,, Most of my issues involved spooling
resources using non-IBM spool conversion software, and ifs files (from
ftp, sftp), and use something like retry up to 5 times with dlyjob(1)
between each retry. Don't make the retry infinite times - don't want
to hang your own job.
In the above 2 cases I had to adjust the code across the system...
especially if processing many files in a loop.
Jim Franz
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.