|
Scott, Could you post more of the code? You are on the right track. The pre-compiler wants the variables in your select to be explicitly defined in the program. We have several programs here that select records using SQL and then display the results on the screen so I don't think the issue is with the pre-compiler. Rick -----Original Message----- From: SHOLMES@xxxxxxxxxxxxxx [mailto:SHOLMES@xxxxxxxxxxxxxx] Sent: Tuesday, May 06, 2003 7:47 AM To: RPG programming on the AS400 / iSeries Subject: RE: SQL RPG Error SQL0312 <snip> Dang. I didn't know if this was the best way to go so I did alot more reading last night and then defined the fields within a data structure and now the compiler is complaining about my workstn definition. Maybe I will rethink this whole thing thru </snip>
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.