|
Al: USE of an object will also include Querying a file or Displaying a file - e.g. WRKF, then display the contents will also update the Last Used Date, or DSPPFM. In addition, if I remember correctly, if you CRTDUPOBJ or CPYF from a file, the Last Used Date is also updated. You could check, but I think the other scenario you describe, where the file is used at compile time and never again, would not update the Last Used Date on the file - because of the override, a different file is actually being used and ITs Last Used Date would be updated. However, a diligent cleaner-upper should not get rid of that master file that is used just for compiles. This is the reason that I always had programmers review lists of Unused Objects to determine if they could be deleted or not - it was not safe to rely completely on the Date - it is just a guideline to determine what should be printed on a list for review. Debbie Gallagher dgallagher@deloitte.ca ***************************** Original Message ***************************** From: MacWheel99@aol.com I could be wrong, but I have been operating on the assumption that USE of an object relates to the addition of records, updating, and deletion. Consider a scenario in which an object is used in definition for program compile, but every place that program is called, there is an over-ride statement calling for the actual use of some other object ... would the act of using an object for program layout definition be considered "used" by DSPOBJD? Al Macintyre *********************************************************************** +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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.