Attach a trigger to the file, then derive the caller (of the database file I/O) and note the program name in a file... This won't work well for program run very infrequently...
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dave
Sent: Friday, April 13, 2012 7:41 AM
To: RPG programming on the IBM i / System i
Subject: Find internal file descriptions
I've been asked to delete a field from a physical file. I've found all
the obvious utilisations of this field, but how do I find all the ones
where the field may be internally described? The field may have a
different name and the file name may not even be the same.
This mailing list archive is Copyright 1997-2020 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