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



On Tue, 22 Nov 2022 at 10:55, Martijn van Breden
<m.vanbreden@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

The funny thing is that the stored procedure is in the same library as the service program so from my RPG-experience I would say it should be able to find the subprocedure in the service program.

For LANGUAGE RPGLE, I don't think there is a stored procedure object.
Only the entry in SYSPROCS that the database manager uses to invoke
the program. Which, as I type this, makes me think of 'SQL Server
Mode'. Do you see SQL7908 in the job log? I have a recollection that
there is some strangeness with the library list in Server Mode, but
cannot recall specifics at the moment.

https://www.ibm.com/docs/en/i/7.4?topic=rdicism-restrictions-running-db2-i-cli-in-server-mode
https://www.ibm.com/docs/en/i/7.4?topic=variables-server-mode-job-name
https://www.ibm.com/docs/en/i/7.4?topic=services-find-qsqsrvr-jobs-procedure

One last thought is that some systems have a package from a security
vendor that has different authority to different SQL-related exit
points.

--buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2023 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.