× 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.



Hello,

We have a problem with QZRCSRVS not closing open files after a thread
program call ends with *INLR set on.  From a synchronized java method on the
AS/400, we are calling a RPG program (via pcml) that in turn calls other RPG
programs, as it processes the entry data.  The calling programs return
without turning on *INLR, but as the main RPG program ends, *INLR is set on,
and the data is sent back to the java method.  The process is working fine,
but the files never close until you either bring down the subsystem or end
QZRCSRVS.  We tried doing a RCLRSC within the main RPG (using QCMDEXC), but
we get an error saying you cannot reclaim resources in a multithreaded job.
Any suggestions on how to close the files without ending the subsystem or
the job?

Thanks,
Mike




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.