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



We are in the process of upgrading our OS from V5R4 to V7R1. In the V7R1 upgrade Memo to Users 7_1.pdf, I see this little note :

NO SQL clause user-defined function changes
In prior releases, no SQL error code was issued when a user-defined function created with the NO SQL
clause attempted to run an SQL statement. In i 7.1, user-defined functions that are created with the NO
SQL clause specified, now issue SQLCODE -487 (SQL statements not allowed) when called and an
attempt is made to run an SQL statement from inside the function.


Does anyone know if above applies to SQL procedure that is created with language of RPGLE (See below)? Meaning would it issue SQLCODE -487 if the RPGLE program execute a SQL statement?

create procedure
someProc( )

language RPGLE

external name 'SOMELIB/SOMEPROC)'

program type sub

not deterministic

no sql

parameter style general;

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

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.