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



One simplest way is to have a recompile of the object, so the old object
goes to the QRPLOBJ library.
This is not so elegant, but it does put everything back brand new.

Javier.

El jue, 21 abr 2022 a las 7:13, Rob Berendt (<rob@xxxxxxxxx>) escribió:

When the patch gets restored on the customer's system the last used date
will be reset.
As others have said, if you save/restore the object it should reset the
last used date.

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
http://www.dekko.com

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
smith5646midrange@xxxxxxxxx
Sent: Thursday, April 21, 2022 9:00 AM
To: 'Midrange Systems Technical Discussion' <midrange-l@xxxxxxxxxxxxxxxxxx

Subject: RE: Reset last used date

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know
the content is safe.


The company that I am consulting for is installing a software patch and
someone asked to have the last used dates reset so they could tell what
objects in the patch have been used. I asked what difference it makes if
it
has been used and the response was "the company requested it so figure out
how to do it".

Honestly, in my opinion, it is a stupid request and there is no valid
reason
for it. I really didn't expect this much back and forth on this. I really
just expected a "no, you can't do it" and that would be the end of it. I
am
truly sorry that I wasted people's time.


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Patrik
Schindler
Sent: Thursday, April 21, 2022 5:32 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Reset last used date

Hello John,

Am 21.04.2022 um 03:34 schrieb John Yeung <gallium.arsenide@xxxxxxxxx>:

Doesn't make sense to me. The system records the last time the object
was
used, period. :-) And you can't make it "null", because the last used date
naturally can't be older than the last change date.
But you absolutely can have an object which has a last change date, yet
has 0 days used and no last used date. We have loads of them on our system.

There is a difference between what is technically possible and what makes
sense from a human point of view. :-) I already guessed that these data is
mere metadata just being updated by the OS on certain occasions but not
checked for consistency.

(Same as with atime/mtime/ctime on Unix: You can set them to whatever you
want with touch(1), values are never checked for consistency, or logical
error.)

What goal do you want to achieve?
Clearly he wants the object to appear as though it has never been used.

Yes. But what is the higher goal? Something the OP might elaborate on.

It's not hard to imagine some situations where you'd want an object to
appear "pristine". I will grant that in most such cases, resetting the last
used date is probably a nice-to-have; and the presence of 0 days used
should
be sufficient from a functionality standpoint.

Instead of doing guesswork, I'd prefer the OP to explain what he wants to
achieve. :-)

Maybe I'm right for asking about the "why", because the OP's initial
question "how to reset" still hasn't been answered with 100% confidence.

:wq! PoC

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


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.