× 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 prefer that to RUNSQLSTM...using RUNSQLSTM you are using a source
member. it's far easier to mess up a source member and hose the process
but with a compiled SQLRPGLE you'll not only have to mess up the source,
you'll have to recompile for it to blow up.

Thanks,
Tommy Holden



Bob.Voltz@xxxxxxxxxx
Sent by: midrange-l-bounces@xxxxxxxxxxxx
11/12/2007 01:27 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc

Subject
Re: Creating a work file with SQL in CL






I looked at RUNSQLSTM, but I am not sure how I could get much simpler than
this embedded RPG:

C/EXEC SQL
C+ CREATE TABLE QTEMP/WORKFILE
C+ (FAC CHAR (2 ),
C+ WHS CHAR (2 ),
C+ ITYP CHAR (1 ),
C+ PROD CHAR (15 ),
C+ IDESC CHAR (30 ),
C+ TOTQTY DEC (15 , 3))
C/END-EXEC

C EVAL *INLR = '1'

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.