Yep. I thought of that too because it's easy to mistype, but it's correct.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Matt.Haas@xxxxxxxxxxx
Sent: Wednesday, July 25, 2007 4:11 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: Embedded SQL - Dumb Question probably

Is the source type correct?

Matt

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Shannon ODonnell
Sent: Wednesday, July 25, 2007 4:55 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: 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.


--
This is the RPG programming on the AS400 / iSeries (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 ...

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.