Not sure what /refresh does/ but apparently that did not help. As to why the path based object description is wrong depends in part, on what does /wrong/ mean? Is it off by some number of hours? What is the returned value being compared to such that /wrong/ presumably means it does not match with whatever is being compared? I would expect the date & time information to match what WRKLNK 8=Display Attributes [I think it is option eight] shows, plus or minus any number of hours according to the LOCALE for the time zone. If the change date\time for the member as presented by DSPFD does not match the WRKLNK information display for the .MBR object, then I must be incorrect in thinking that the data change data will be manifest there... which means there must be both a data and object change date, but I do not recall there is.

Regards, Chuck

Michael Schmitz wrote:

I try the following statements...

AS400 as400 = new AS400();

QSYSObjectPathName path = new QSYSObjectPathName(
"/QSYS.LIB/TEST.LIB/TEST.FILE/TEST.MBR");
FileAttributes objDescr = new FileAttributes(as400, path
.getPath(), false);
System.out.println(objDescr.getChangeTime());

But I receive the wrong time...

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-2022 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.