• Subject: Dynamic embedded SQL (in RPG) example
  • From: John Carr <74711.77@xxxxxxxxxxxxxx>
  • Date: Thu, 2 Oct 1997 20:58:26 -0400

Date:   10/2/97  5:32 PM

RE:     Dynamic embedded SQL (in RPG) example

>Can anyone point me to a good example of dynamic embedded SQL in an RPG
>I'd like to build the select statement depending on parameter values passed
>to the program.

I just did a session at COMMON on exactly that.  "Using External I/O
modules in RPG"   It builds a SELECT statement & does the PREPARE based
on the WHERE and ORDER BY passed to it. If you want a copy send me your 
PHYSICAL address. 

John Carr CDP
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].