FWiW: Unqualified references may reference either the CURRENT SCHEMA or the PATH. IMO the question belongs in the midrange-l since the issue is not specific to a web\browser interface, plus that is where more general DB2 for i SQL skills will be.

Regards, Chuck

Tom Deskevich wrote:
I found a mention on this list that stated that you do not have to hard code the library name in a stored procedure created on
the AS/400. I was wondering if someone has an example of this. I
have tried to pass the library name to the stored procedure and
do a SET SCHEMA, but it seems to ignore this.

All of our stored procedures have LIBRARYNAME.FILENAME, and am told this is the only way to do this.


This thread ...


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

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