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



How are you compiling this? Changing the source to SQLRPGLE makes sense if you are using PDM option 14/15. But won't affect the compile much if you are using another method. Please verify that you are invoking the SQL Precompiler.

Jerry Adams wrote:
I am having a problem getting an SQLRPGLE program to compile. The code is at http://code.midrange.com/606a197b81.html .

After clearing up some fat finger errors, the only errors that I am getting now are RNF7030 The name or indicator is not defined. And all of the undefined field names are those created by the pre-compiler, including basic thing, like sqlstate and sqlcode. I've double- (and triple-) checked that the source member type is SQLRPGLE (even copied and pasted it here in case dyslexia was setting in).

I have compared it to a similar program that I wrote last year. Even re-compiled that one to be sure that, perhaps, a recent PTF changed something, but that program compiled fine.

I know this is going to turn out to be a 'Duh' moment, but my one good eye is getting blurred looking at the code for the last five hours. Your assistance is appreciated.

Thanks.

Jerry C. Adams
IBM System i Programmer/Analyst
--
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx



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