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

First it's not a SQL Precompiler Message but an RPG message, that means that
the precompile was executed without problems.
This kind of message occurs, if something in the preceeding RPG code is not
correct, for example, /END-FREE or a semi colon (;) to end an statement are
missed.

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 Shannon ODonnell
Gesendet: Wednesday, July 25, 2007 22:55
An: 'RPG programming on the AS400 / iSeries'
Betreff: Embedded SQL - Dumb Question probably



So...dumb question I guess, but for some reason I am drawing a complete
blank on this.

Can you see why this would be getting a RNF0274 - Compiler Directive not
recognized errror message?

C/EXEC SQL
C+ SELECT COUNT(*)
c+ INTO :IoRecsRmn
c+ FROM CSPDPPRT
C/END-EXEC


I've never had a problem with embedded sql before, so I'm wondering what
might be going on here. Maybe a missing PTF or something on the iSeries?
I can't say that I have ever tried to compile SQLRPGLE on this particular
machine before.

Here's the relevant portion of the compile listing...


3640 C/EXEC SQL

====> aaaaa

NF0274 30 a 015900 Compiler directive not recognized; directive
ignored.
3641 C+ SELECT COUNT(*)

====> aabcceee dddddddddd

NF5001 20 a 016000 Control-Level entry is not valid; defaults to
previous
control level.

NF5006 20 b 016000 Not entry is neither N nor blank; defaults to
blank.
NF5007 20 c 016000 Conditioning-Indicator entry is not valid; defaults
to
blanks.

NF0289 20 d 016000 Entry contains data that is not valid; only valid
data is
used.

NF5010 20 e 016000 Factor 1 entry is not blank for the specified
operation;
defaults to blanks.

3642 C+ INTO :IoRecsRmn

====> aabcce dddddddddddd

NF5001 20 a 016100 Control-Level entry is not valid; defaults to
previous
control level.



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.