Looks like either the DSPOBJD method or Vern mentioned object auditing.
I'm going to check into that as well.
Thanks.
Regards,
Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site:
http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
------------------------------
message: 8
date: Wed, 25 Nov 2009 18:35:42 -0500
from: Peter_Vidal@xxxxxxxx
subject: Re: Best Way to Check if a Library Has At Least 1 Changed
Object
Probably you can do something like :
DSPOBJD OBJ(PVIDAL) OBJTYPE(*LIB) OUTPUT(*OUTFILE)
OUTFILE(QGPL/LIBSTATUS)
After 24hrs you can do something like:
DSPOBJD OBJ(PVIDAL) OBJTYPE(*LIB) OUTPUT(*OUTFILE)
OUTFILE(QTEMP/CURLIBSTS)
You can compare the 2 files via the object name and compare maybe these
2
fields:
ODLDAT - Change date (MMDDYY)
ODLTIM - Change time (HHMMSS)
If you determine that these fields are different between the two, you
can
back this library up.
Finally, make sure that QTEMP/CURLIBSTS gets copied over QGPL/LIBSTATUS.
Just a quick thought.... not tested obviously....
PETER VIDAL
PALL CORPORATION | SR SYSTEM ANALYST @ WH APPLICATION DEVELOPMENT GROUP
10540 RIDGE RD., SUITE 203, NEW PORT RICHEY, FL 34654-5111
727-815-3104 ||| FAX: 727-815-3120 ||| WWW.PALL.COM
"SCIENCE IS ORGANIZED KNOWLEDGE. WISDOM IS ORGANIZED LIFE."
IMMANUEL KANT(1724 - 1804)
As an Amazon Associate we earn from qualifying purchases.