|
Jonathan, Are there any scenarios of which you're aware that would cause this query to loop endlessly? I just tried this on another program, and let the query run for a good 10 minutes before I killed it. The job had no halts; the CPU was running, and the temp storage on the job was climbing into the tens of gigabytes. I'm not sure how I would debug this. The other five programs I tried with this finished within 5 seconds. I would expect the depth on this program to be no more than 10 levels, probably closer to 5. Also, the example DSPPGMREF in the comments of the SQL source shows "OBJTYPE(*PGM)". Is there any reason you're not including *SRVPGM? Thanks again for sharing! - Dan
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.