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



hi sriram,
you could do a 
DSPFD FILE(srclib/srcfile) TYPE(*MBRLIST) OUTPUT(*OUTFILE) OUTFILE(File2)

then you have all information on all members in your outfile.

Then,when you have query manager you can do a:
STRQMQRY   QMQRY(OLGHLPV4/SQLEUP) OUTPUT(*PRINT) + 
             SETVAR((LINE1 'SELECT SROBNM, SROBLI, +
             SROBAT,') (LINE2 'SRSROB, SRSRLI, + 
             SRSRMB') (LINE3 'FROM File2'))

The SQLEUP Query basically justs accepts the LINEx variables.
You then get a nice formatted SQL SELECT spool.

RUNSQLSTM *PRINT should work, too.

greets
 Martin





"Srinivasan, Sriram" <Sriram.Srinivasan@xxxxxxxxxxxx>
Gesendet von: rpg400-l-bounces@xxxxxxxxxxxx
26.08.2005 10:55
Bitte antworten an RPG programming on the AS400 / iSeries

 
        An:     RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
        Kopie: 
        Thema:  RE: RPG prg - List Members from (*src) with Name, Type, and 
Text. ..


Hi VenU,

Thanks, but I need to have all the members in a spool file not on screen. 
I
am interested to do this for a documentation purpose. 

Thanks once again,
Sriram Srinivasan


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.