DSPFD *LIBL/*ALL TYPE(*MBRLIST) to an outfile. Then query the outfile.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jim Lowary
Sent: Thursday, September 25, 2008 10:17 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Finding a member in a file, not knowing the file it's in!

Does anyone know of a way to find a specific member name in a file?
Trick is I don't know the file it could be in. Not to mention I've only been here for about 3 months and still finding my way around the maze.
For some reason we have lost the source to a program that has not been compiled since 2002 and I need to see if some one archived it into another source file before deleting it.

I've looked at WRKOBJPDM and doing an option "25" but that only scans the date in the member (all I care about is finding the member name).
Plus the WRKOBJPDM does not put its list to a file so I'd have to go the API route (or DSPOBJD for *file and then DSPFD for *mbrlist), which I might have to anyway, just to get a listing of all members in a file, of OBJATR('PF-SRC').

Thanks for any suggestions you might have.

-- Jim Lowary

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.7.2/1690 - Release Date: 9/25/2008 7:05 AM

This thread ...


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

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