I expect that CRTDUPOBJ should update the last used date...
example : CRTDUPOBJ of an "empty" work PF to QTEMP and only the temporary
file is updated and read by the program...
The original file is used and required to run the "application"...
Paul
From: "Steinmetz, Paul" <PSteinmetz@xxxxxxxxxx>
To: "'Midrange Systems Technical Discussion'"
<midrange-l@xxxxxxxxxxxx>
Date: 13/04/2016 17:29
Subject: Question on object usage, last use date
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
I'm working on a utility to compare object usage from production, R&D, and
the R&D source.
I found that CRTDUPOBJ or CPYLIB updates the last use date.
This is "muddying the waters" for checking actual true object usage.
In one sense, the object was actually used.
It was used to create a new duplicate object.
But in another sense, it may not have been used.
Should CRTDUPOBJ and/or CPYLIB be updating last used date?
Is there a way to tell if an object was used by an application?
Thank You
_____
Paul Steinmetz
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home
psteinmetz@xxxxxxxxxx<mailto:psteinmetz@xxxxxxxxxx>
http://www.pencor.com/
As an Amazon Associate we earn from qualifying purchases.