MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » October 2012

Re: Object use vs. library use



fixed

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_
http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/rbam6/detob.htm
"...
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.






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact