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


  • Subject: Re: Last Used date field
  • From: John Earl <johnearl@xxxxxxxxx>
  • Date: Sun, 26 Oct 1997 23:12:03 -0800

Dana,

At 11:13 AM 10/22/97 -0400, you wrote:
>Hello all,
>
>I've got a question.
>
>I'm trying to clear up some files in my production environment and would like
>to remove orphaned or seldomly used files.

I'd be carefull with the "seldomly used files" part.  They may only be used
once a year, but are essential to that once a year process.

  I created a file that contains
>all the files in the library and wrote a quick CL program to DSPFD (*mbr)  to
>an outfile.  I queried the file and found that of the 540 some odd files only
>about 20 % have been used.  Here's the question.  What is the basis of this
>information?  Is it updated automatically by the OS when the file is opened?

Yes.

> When are these fields updated?   I'm using the last used date field for my
>query.  I also had a problem and needed to restore the library last week.
> Does this reset the last used date and time fields?

Yes again.  Not only does a restore clear the 'Last Used Date', but it also
changes the 'Last Change Date' field to be equal to the restore date. :(

>Is there a better way
>to do this? Any help would be appreciated.  

Likely not.  In the past I have done a DSPOBJD *ALLUSR/*ALL to an outfile
and saved that outfile indefinetly for later reference.  It's imperfect, but
it does give you some information.

hth, 

jte

*************************************************
* John Earl             johnearl@blarg.net      *
* 8514 71st NW          Gig Harbor, WA 98335    *
*************************************************



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.