|
I have a SQLRPGLE with a select statement in it. I have compiled this program with CLOSQLCSR(*ENDMOD). However, after the program finishes I look at the Open Data Paths for my job and the files in the SELECT statement are still open. I close the cursor prior to exiting the program. I put the program in debug and my joblog shows the message SQL7914 "ODP not deleted". The main place this is causing me issue is in JDBC calls to these SQLRPGLE programs, which are registered as stored procedures. The system jobs for JDBC end up having 300+ ODP's. Is there a way to ensure the ODP's are deleted? By the way, this is a hard coded SELECT statement (Not a prepared statement). OS - V5R2 Thanks, Schadd Gray Damon Technologies, Inc. www.damontech.com
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.