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



There's a thought. Is that required for embedded SQL?

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Jeff Crosby
Sent: Wednesday, July 25, 2007 6:33 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: Embedded SQL - Dumb Question probably

The SQL Development Kit, or whatever it's called, not installed?

--
Jeff Crosby
UniPro FoodService/Dilgard
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531

The opinions expressed are my own and not necessarily the opinion of my
company. Unless I say so.


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Shannon ODonnell
Sent: Wednesday, July 25, 2007 6:03 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: Embedded SQL - Dumb Question probably

yep

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of M Lazarus
Sent: Wednesday, July 25, 2007 4:28 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Embedded SQL - Dumb Question probably

Shannon,

Look at the source type. Is it SQLRPGLE?

-mark

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.


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




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

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.