MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » November 2009

Re: Best Way to Check if a Library Has At Least 1 Changed Object



fixed

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)

--------------------------------------------------------------------------------

Attention:

This communication may contain information that is confidential,
privileged and/or exempt from disclosure under applicable law.
If you are not the intended recipient, please notify the sender
immediately and delete the original, all attachments, and all
copies of this communication.


--------------------------------------------------------------------------------





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