|
It needs to know the source type so it can use the correct syntax checker. SQLRPGLE is the source type that allows c/exec sql to work because it's part of the SQL RPGLE syntax. I don't think ILERPG is proper - the member type should be RPGLE. I dunno why your source disappeared. On 10/17/06, Turnidge, Dave <DTurnidge@xxxxxxxxxxxxxxxxxxxx> wrote:
I changed it from ILERPG to SQLRPGLE. Somewhere in the process, ALL the source disappeared - So I started over... 2nd time through was a charm - It worked. I just LOVE it when something works and you don't know why...NOT!! -----Original Message----- From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Pete Helgren Sent: Monday, October 16, 2006 9:51 PM To: Websphere Development Studio Client for iSeries Subject: Re: [WDSCI-L] First attempt at EXEC SQL... Is the source type SQLRPG? Or SQLRPGLE? Licensed Program 5722ST1 installed? Pete Turnidge, Dave wrote: > I'm trying my first go at embedded SQL, and blow up right off the bat. > I have looked in the archives, but have this ongoing problem with > putting in the right keywords that are obvious to everyone else... > > This is the error I get... > > c/exec sql > RNF0274E Compiler directive not recognized; directive ignored. > > Any direction appreciated. > > Dave > > -- This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l. -- This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.
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.