|
We have a CL that does a DSPPGMREF on all out libraries and writes the data to a file. We use QUERY to search for the file name and format to print a list of all the programs that use that file. Barbara Turner bturner@lionel.com >>> "Robert Schmuhl" <BSchmuhl@worldnet.att.net> 12/23/99 07:48AM >>> There are two ways I can think of to get a list of programs which use a specific file: One is to scan your source for the file name, and the other is to dump the program reference information for all programs within the library(s) that you are concerned with into an outfile and query it. The first method is much easier if you have the source and know the places it exists. The second involves dumping a list of programs to a file, then reading the file and executing dsppgmref to an outfile for each one. ----- Original Message ----- From: lamaj risan <lamaj2000@yahoo.com> To: <RPG400-L@midrange.com> Sent: Thursday, December 23, 1999 1:58 AM Subject: Display cross reference of file and programs > > Is there a way to display list of programs using a > physical file? > > Thanks > > Lamaj > > __________________________________________________ > Do You Yahoo!? > Thousands of Stores. Millions of Products. All in one place. > Yahoo! Shopping: http://shopping.yahoo.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-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.