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



I don't know why your program isn't being updated, but per the CL
Programming manual the Counter of number of days used is increased when
the date of last use is updated, and from the same manual the *PGM
date of last use is updated when either the Retrieve CL Source (RTVCLSRC)
command is used or when run and not a system program.  I would assume
the "not a system program" is exempting QWSGET and QDMCOPEN.

Bruce

>
>here are some examples:
>
>call lsexplr, then wrkobj lsexplr:
>
>                       Display Object Description - Full
>                                                                 Library 1 of
>1
> Object . . . . . . . :   LSEXPLR         Attribute  . . . . . :
>   Library  . . . . . :     LSVALGAARD    Owner  . . . . . . . :   LSVALGAARD
> Type . . . . . . . . :   *PGM            Primary group  . . . :   *NONE
>
> Change/Usage information:
>   Change date/time . . . . . . . . . :   07/15/00  12:32:03
>   Usage data collected . . . . . . . :   YES
>   Last used date . . . . . . . . . . :   12/22/00
>   Days used count  . . . . . . . . . :   59
>     Reset date . . . . . . . . . . . :
>   Allow change by program  . . . . . :   YES
> Auditing information:
>   Object auditing value  . . . . . . :   *NONE
>
>-------
>
>call filemon, the wrkobj filemon:
>
>                       Display Object Description - Full
>                                                                 Library 1 of
>1
> Object . . . . . . . :   FILEMON         Attribute  . . . . . :
>   Library  . . . . . :     LSVALGAARD    Owner  . . . . . . . :   LSVALGAARD
> Type . . . . . . . . :   *PGM            Primary group  . . . :   *NONE
>
> Change/Usage information:
>   Change date/time . . . . . . . . . :   07/19/00  13:04:46
>   Usage data collected . . . . . . . :   YES
>   Last used date . . . . . . . . . . :
>   Days used count  . . . . . . . . . :   0
>     Reset date . . . . . . . . . . . :
>   Allow change by program  . . . . . :   YES
> Auditing information:
>   Object auditing value  . . . . . . :   *NONE
>
>-------
>
>an IBM program used by everybody every day:
>
>                       Display Object Description - Full
>                                                                 Library 1 of
>1
> Object . . . . . . . :   QWSGET          Attribute  . . . . . :
>   Library  . . . . . :     QSYS          Owner  . . . . . . . :   QSYS
> Type . . . . . . . . :   *PGM            Primary group  . . . :   *NONE
>
> Change/Usage information:
>   Change date/time . . . . . . . . . :   07/28/00  02:15:29
>   Usage data collected . . . . . . . :   YES
>   Last used date . . . . . . . . . . :
>   Days used count  . . . . . . . . . :   0
>     Reset date . . . . . . . . . . . :
>   Allow change by program  . . . . . :   YES
> Auditing information:
>   Object auditing value  . . . . . . :   *NONE
>
>-----
>
>I can understand (barely) that IBM programs do not update the
>usage count (performance ???), but why my simple 'filemon'
>program also does not update the usage count is the mystery.
>


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| 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.