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



I haven't tried this myself, but couldn't you create a module with CRTSQLRPGI,
then bind that module to the CGISRVPGM2 service program using CRTPGM with
BNDDIR(CGIDEV2/TEMPLATE2)?

Here is some of the help text from the CRTSQLRPGI command:

The Create Structured Query Language ILE RPG Object (CRTSQLRPGI)   
command calls the Structured Query Language (SQL) precompiler which
precompiles RPG source containing SQL statements, produces a       
temporary source member, and then optionally calls the ILE RPG     
compiler to create a module, create a program, or create a service 
program

Mel Rothman
CGIDEV2 Author
iSeries Custom Technology Center
IBM Rochester


"Goodbar, Loyd (AFS-Water Valley)" wrote:
> 
> Has anyone come up with a compile procedure for using SQLRPGLE with CGIDEV2?
> 
> Thanks,
> Loyd
> --
> Loyd Goodbar
> Programmer/Analyst
> BorgWarner Incorporated
> Air/Fluid Systems, Water Valley, MS
> 
> _______________________________________________
> WEB400 mailing list
> WEB400@midrange.com
> http://lists.midrange.com/cgi-bin/listinfo/web400


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.