|
> Is there an easy way to determine when a program was last run and > whether or not is it currently in use? I'd really like to be able to > say "show me all programs that have not been accessed in 2005" or > something to that effect. The object description contains a "Last used date". According to the CL Reference, that date is updated for programs when "Retrieve CL Source (RTVCLSRC) command or when run and not a system program." The outfile created from a DSPOBJD command contains these fields: ODUUPD 433 433 A1 Usage updated: Y=Yes, N=No ODUCEN 434 434 A1 Last used century: 0=19xx, 1=20xx ODUDAT 435 440 A6 Last used date (MMDDYY) ODUCNT 441 443 P5.0 Days used count You should be able to determine your unused programs with this information. ---------------------- Scott Scott A. Schollenberger Chief Technology Officer TENEX Systems, Inc. 2011 Renaissance Blvd., Suite 100 King of Prussia, PA 19406 Phone: 610-239-9988 Ext. 305 Fax: 610-239-9995 E-mail: saschollenberger@xxxxxxxxxxxx Web: www.tenexsys.com IBM Certified Specialist - eServer i5 iSeries Technical Solutions Implementer V5R3 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and contains confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ---------------------- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." --Benjamin Franklin ----------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.