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



Hi,

you mean you are missing the complete SQLCA?

This may sometimes happen, if there are no global variables defined (or only
defined in Copy Members).
Just define a dummy global D-spec and the SQLCA will be included (I also run
sometimes into this problem).

... I thought there may be a PTF.

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"

-----Ursprüngliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im
Auftrag von Jerry Adams
Gesendet: Monday, 21. September 2009 18:42
An: Midrange-RPG (rpg400-l@xxxxxxxxxxxx)
Betreff: SQL Pre-compiler Fields Names Undefined

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.