|
CHANGE the source member type to SQLRPGLE Michael -----Original Message----- From: Peter_Vidal@pall.com [mailto:Peter_Vidal@pall.com] Sent: February 07, 2002 02:02 PM To: rpg400-l@midrange.com; rpgiv@yahoogroups.com; rpgiv@egroups.com Subject: SQL Problem: "Compiler directive not recognized; directive ignored. " Hi guys! I am starting to work with embedded SQL statements in an RPG pgm and I was surfing on the archives. I took a piece of code and I am trying to use it on my new RPG program and I have this error. What is it? This is the code: C/EXEC SQL C+ SELECT DISTINCT EMDFIL INTO :EMDFIL C+ FROM EMAILFDST C+ WHERE EMDFIL=:EMDFIL AND C+ EMDCMP=:EMDCMP AND C+ EMDFAC=:EMDFAC AND C+ EMDUSR=:EMDUSR C/END-EXEC Thanks in advance. Peter Vidal Programmer Analyst PALL Aeropower Corp. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com 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 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.