RE:     ..A files members

>Hello all,
>Here's what I got:
>I have written an RPG400 program that reads a file and lists certain
>records that fit a specific criteria.
>There are multiple members to this file as it is
> <snip>
>MY QUESTION- Within my program how do I identify which file member I am
>reading from as I read the records?
>Any help appreciated.
>:-Tim & Dana Truax-:

Tim & Dana
Declare a file information feedback data structure for the file. 
In the data structure is a field which tells you the current member name.
And a lot of other things(actual Library name, Actual file name
(ie overridden),  format name of record just read, etc. 

and call your program,  It will process it as if one file.  You can 
tell by the data structure field which member you currently processing
and your program is a lot simpler.

John Carr 
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "".
| To unsubscribe from this list send email to
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator:

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by 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].