|
Am 12.08.2024 um 16:59 schrieb Greg Wilburn <gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>:
My SQL Procedure/Function was basically gone. It still existed within the SQL Plan for that specific SQL View - but I could not run the code to recreate the SQL view because the SQL function no longer exists on our system.
It was not in SYSROUTINES or SYSFUNCS.
The function object is likely gone because it could not be saved or restored. Evidently, it was not saved from our old power7+, and/or it was not restored onto our "new" power9 back in 2021.
https://www.ibm.com/support/pages/stored-procedures-restore-overview
IBM STRONGLY RECOMMENDS saving the SQL Source for creating the procedure or function. For reasons I won't go into, I'm saving it in a source member on the IBM i.
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.