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



Thanks. I am somewhat new to RPG IV and I haven't (yet) run the full gamut of possibilities of using different techniques in different source types.

Good to know.

Pete


Michael_Schutte@xxxxxxxxxxxx wrote:

You can use display files in SQLRPGLE.  However, you cannot run a SQL over
the display file.  For instance...

 Select * From Display1

I believe it will compile, it just won't collect any information.

Put you can

Dow not *InKC;
  exfmt Display1;
  If *inkc;
    leave;
  endif;
  exsr edit#;
  if anyerrors;
     iter;
  endif;
  exsr performSQL#;
endDo;

This code is valid in a SQLRPGLE.

Michael Schutte
Work 614-492-7419
email  michael_schutte@xxxxxxxxxxxx

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.