|
I have written an external stored procedure in SQLRPGLE running in the default activation group. This procedure is executed via a Prestart Job. The procedure calls a CLP which, in turn, calls various other programs - all running in default activation group. The problem is that when the Prestart Job running under QUSER has completed servicing my procedure request, the file locks for that request can be retained by the Prestart Job. This agrees with the Prestart Job documentation. However, I have attempted to remove the locks using RCLRSC (from the CLP ie. above the functions that use the file locks) for both normal end and abnormal end. This does not appear to work - certainly if the procedure request errors and, even on a normal end, the locks seem to stay longer than expected. Is there an alternative approach to RCLRSC that will definitely remove the locks and leave the Prestart job 'clean' for the next requester? Thanks, Keith
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.