|
within a CL you can DSPFD for the file name specify type as *MBR and
specify the output as *OUTFILE. then process the outfile, obtaining
the member names by looking at field MBNAME. The format for the
outfile created by the type *MBR is found in file QSYS/QAFDMBR.
you could, of course, also do this within RPG also by using QCMDEXEC
to execute the DSPFD.
jw
______________________________ Reply Separator _________________________________
Subject: Re: Member Names
Author: "oludare" <oludare@ix.netcom.com> at Internet
Date: 11/15/2000 12:28 PM
RTVMBRLST in TAATOOL, if you have TAATOOL.
----- Original Message -----
From: "chandran balaji" <cbalajivk@hotmail.com>
To: <RPG400-L@midrange.com>
Sent: Wednesday, November 15, 2000 11:53 AM
Subject: Member Names
> Hai all
> Is there a way to retrieve the names of all the memebers of a
physical
> file using a CL or an RPG program, by just giving the Physical file name
as
> parameter.
>
> TIA
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.