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



The undefined fields are (from the compiler listing):

SQL_00000
SQL_00002
SQL_00003
SQL_00006
SQL_00009
SQL_00011
SQL_00012
SQL_00013
SQL_00014
SQL_00015
SQL_00016
SQL_00017
SQL_00019
SQL_00023
SQL_00026
SQL_00028
SQL_00029
SQL_00030, etc., generated by the pre-compiler.

And

SQLCA

SQLCLSE
SQLCODE
SQLER6
SQLOPEN
SQLROUTE
SQLSTATE

The non-pre-compiler field names (internally defined and from the display file) all pass muster.

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


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Shore
Sent: Monday, September 21, 2009 12:09 PM
To: RPG programming on the IBM i / System i
Subject: Re: SQL Pre-compiler Fields Names Undefined

Hi Jerry
you dont say what the RNF7030 compile error is for
Which is the undefined field?


Alan Shore
Programmer/Analyst, Distribution
E:AShore@xxxxxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill

rpg400-l-bounces@xxxxxxxxxxxx wrote on 09/21/2009 12:41:32 PM:

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

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.