× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




On 03/04/2008, at 5:08 AM, Walden H. Leverich wrote:

I looked at the attributes for IFS objects and I don't see a last- saved
date. I'm sure I'm missing something, no?


Don't think so.

Save/restore information for QSYS.LIB objects is stored in the object's OIR which is part of the *LIB object.

Stream files don't have an OIR (or not one I can find) therefore no save/restore information.

A DMPOBJ of a *PGM shows a .SAVE/RESTORE. section.

A DMP of a stream file does not therefore I presume this information is not tracked.

When a stream file object is changed the Change date is updated and the Archive flag is turned on. When a stream file object is saved the archive flag is turned off (if UPDHST(*YES | *SYS) is specified).

The SAV command does allow a 'sort-of' SAVCHGOBJ function via the CHGPERIOD keyword. This supports a special start point of *LASTSAVE. As far as I can tell this just means all stream file objects that have their archive flag set on.

I note that the attribute flags don't appear to be in the dump either so it's possible that the system does track the save date information but simply doesn't expose it. However, the observed behaviour is consistent with the Archive flag being set or unset.

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.