×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On 6/16/23 11:53 AM, Roger Harman wrote:
I used to put in a 4 or 5 second delay on some tasks like this. I
don't think there is a "wait" parameter for IFS objects.
The short delay solved the problem. My unscientific conclusion was
that the machine is so fast that the lock release couldn't complete
before the CPY makes its attempt.
In my case, the negligible delay had no negative impact on the
process and solved the problem.
Hmm. Interesting. Could be you're onto something. Although I'm actually
not entirely sure that the lock is actually being released.
In general, with applications of this type, in each of the RPG programs,
the INZSR starts with a "callp http_debug(*OFF)"; this is followed by
other initialization, web-service sign-on, and finally a "callp
http_debug(*ON)." We don't generally do a "callp http_debug(*OFF)" at
the end, even if we hit an abnormal situation that would cause the
program to abort and trip the forensic save in the master CL; we just
exit with LR set (and H1 set if we want the diagnostics).
We shut down the debug before signing on in order to keep the web
service password out of the debug file.
--
JHHL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.