|
Yes. but....
1. I believe that if in the CRTSQLRPI you do not specify *SYS as part of
the OPTIONs where you see *XREF, it defaults to SQL and if
SQLPATH(*NAMING) is specified, the SQLPATH will take the SQL value. I
suggested you use both values: *SYS in OPTION and SQLPATH(*LIBL).
2. In the CREATE OR REPLACE PROCEDURE there is an option that you have to
include like "SET OPTION NAMING = *SYS" along with other options.
3. Try to connect from the outside interface with a user profile that has a
job description that includes those libraries, where the external sprocs
are defined.
4. In the connection string, there is also something similar to
"NAMING=*SYS" or so, see the .NET or Java documentation.
5. LANGUAGE has to be "RPGLE".
Not sure either, but if you use a service program, I think I remember that
the EXTERNAL NAME must include the library, or else it does not accept
*LIBL.
i.e. EXTERNAL NAME 'MYLIB/MYSRVPGM(MYROUTINE)'.
If I am wrong with anything, please someone let me know. I got rid of all
these kinds of issues by standardizing like this, so I do not remember
exactly what I had to face but I could resolve them.
HTH.
JS
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.