|
To do something similar to Hawkeye and ASC's ABSTRACT products you need to do a DSPPGMREF to an outfile. Then using that outfile, read it into a program and then generate a list of fields for each file used in the programs. You can do that with the DSPFFD CL command or the QUSLFLD API, or even the SQL catalog. Be sure to keep track of the way the file is declared (Input/Output/Both) so that you can report that as well. If you want to create a database of cross reference information then you'd need to generate a custom file with the program and file name in it, as well as each field in the referenced file. Bob Cozzi Cozzi Consulting www.rpgiv.com -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Lott Sent: Wednesday, September 10, 2003 4:37 PM To: rpg400-l@xxxxxxxxxxxx Subject: Fields where used I'm trying to duplicate the Hawkeye "fields where used" funciontality, but I can't find anything that will tell me what fields a program uses. Any ideas?
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.