Hi
We have a scheduled CRON job that runs every hour that has been running for
over a year to collect exactly that information. It scans all our known
DataBasic Object directories and logs any used within the last hour, this
gives us details of what is being run and when but also to identify when
erroneous activations occur, we don’t run UVBackup or cpio etc. as we use
snapshots so rarely affected by false reporting.
It’s helped us identify a large number of our 15k+ object files that are
not active or pinpoint when they are being called to assist with
decommissioning them.
Happy to share if it helps.
Kind Regards
Mark
--
Kind regards,
Mark Copp
Infrastructure Design
Travis Perkins PLC
www.travisperkinsplc.co.uk--
*
This e-mail and any attachments are confidential and intended solely for
the use of the addressee only. If you have received this message in error,
you must not copy, distribute or disclose the contents; please notify the
sender immediately and delete the message.
This message is attributed to
the sender and may not necessarily reflect the view of Travis Perkins
Trading Company Limited, 733503, Lodge Way House, Lodge Way, Harlestone
Road, Northampton, NN5 7UG or its parent company Travis Perkins plc
(Registered in England No. 824821; Lodge Way House, Lodge Way, Harlestone
Road, Northampton, NN5 7UG; VAT number 408556737) and any of its
subsidiaries. Agreements binding Travis Perkins Trading Company Limited may
not be concluded by means of e-mail communication.
E-mail transmissions are
not secure and Travis Perkins Trading accepts no responsibility for changes
made to this message after it was sent. Whilst steps have been taken to
ensure that this message is virus free, Travis Perkins Trading accepts no
liability for infection and recommends that you scan this e-mail and any
attachments.*
Original Message:
Sent: 8/11/2022 11:03:00 AM
From: Brian Paige
Subject: RE: Is this program still used?!?!
Kathleen,
On our systems (Universe on AIX), we're running Ideal flavor, and when we catalog programs, the object gets written into the GLOBAL.CATDIR file ($uvhome/catdir). When a program is run, the date stamp on the object code in catdir gets updated.
Like you said, though, this would only help you with cataloged programs AND if your environment uses/updates catdir.
Brian
Original Message:
Sent: 8/11/2022 10:21:00 AM
From: Kathleen Hambrick
Subject: Is this program still used?!?!
I've inherited thousands of programs, most of which are no longer being used. Even worse the programs are all scattered into about 80 different program files. Your basic nightmare.
Does anyone know a way, on Universe, to tell when the last time a program was executed is? The cataloging features are not usually employed here, although there are some, so anything that looks for a catalogue date is probably not going to help me much - but if there is a way to see when catalogued programs were last run as well that could help some.
If there is nothing available to help me here - any suggestions on how to create a log of what's being used? Obviously I could move all the programs into an archived file and wait for my users to scream but that's not helpful to my company :(
Thanks in advance for the info / suggestions. Hoping to get this place cleaned up but it's gonna take a LONG time!
Kathleen
------------------------------
Kathleen Hambrick
Programmer at Colwell
------------------------------