On 31 Oct 2012 16:45, Paul Fenstermacher wrote:
I was asked an interesting question today, let's see what others
think. If an object in a library gets used in any manner does that
also update the last used date on the library object?
According to the following doc snippet, the Library Object does not
have its Last Used information tracked\updated.
IBM i 7.1 Information Center -> Programming -> Control language ->
Objects and libraries
_Detecting unused objects on the system_
Object usage information is not updated for the following object types:
# Journal (*JRN)
# Journal receiver (*JRNRCV)
# Library (*LIB)
# Mode description (*MODD)
Note: there is what may seem a conflicting comment on that page; i.e.
an implication that "All object types" have Usage information updated
for use of CRTDUPOBJ... "such as the Copy Library (CPYLIB) command, that
use CRTDUPOBJ to copy objects", but the CPYLIB is implemented as
CRTDUPOBJ of all [supported] object types in the library. CRTDUPOBJ
does not support the *LIB object type.