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



Any idea if I can create a SQLRPGLE *MODULE?

Thanks

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Elvis Budimlic
Sent: Thursday, September 08, 2005 2:50 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Getting a Field Value using RUNSQLQM

Well, I've never heard of this command.  If it has file output, you can
create a file in QTEMP and read in CL using DCLF - RCVF kind of logic.

-----Original Message-----
 Subject: RE: Getting a Field Value using RUNSQLQM

Yes, RUNSQLQM.

Here is the sample:

                         Process SQL commands (RUNSQLQM)

 

 Type choices, press Enter.

 

 SQL request  . . . . . . . . . .

 

 

 

 

 

                                                                     ...

 Output . . . . . . . . . . . . .   *             *, *PRINT, *OUTFILE



Do you have any other suggestion with RUNSQLSTM?  

Thanks,



-----Original Message-----
Subject: RE: Getting a Field Value using RUNSQLQM

You mean RUNSQLSTM?  Or is this a custom made command?

-----Original Message-----
 Subject: Getting a Field Value using RUNSQLQM

How can I get the value of a field from a file using RUNSQLQM in a CL
program? 

I don't want to create an RPG program just to do a chain to get the
value.

Any ideas?


Thanks,

Lester




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.