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



For database files, for which data activity is for a member, then...

Look at the Dataspace Activity Statistics which are maintained since the first open after IPL. DSPFD TYPE(*MBR) and QUSRMBRD API [MBRD0200] which will have some documentation:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qusrmbrd.htm
That documentation can correlate to the DSPFD for *MBR. Be sure to consider the comment that "The counts for the data space activity statistics are intended to be approximate counts that are associated with the object since the last IPL. These counts are intended to monitor performance statistics on the object and are meant only to show trends in the operational use against the object."

Data Space Activity Statistics :
<<SNIP>>
Write operations . . . . . . [MBWROP] : 59
Update operations . . . . . . [MBUPOP] : 194
Delete operations . . . . . . [MBDLOP] : 64

CRTDUPOBJ QAFDMBR QSYS *FILE &StatsLib &StatsFile
CHGPF &StatsLib/&StatsFile SIZE(*NOMAX)
/* ADDPFTRG &StatsLib/&StatsFile *BEFORE *INSERT ALWREPCHG(*YES) */
Next_Col:
DSPFD TheLib/*ALL TYPE(*MBR) FILEATR(*PF) OUTPUT(*OUTFILE) +
OUTFILE(&StatsLib/&StatsFile) OUTMBR(*FIRST *ADD)
DLYJOB &LAPSE
GOTO Next_Col

If the statistics must be for a starting time after the IPL, then subtract the first-pass collection values from the later rows. An insert trigger that generates the difference only, for each new row, can give the activity for the duration since the prior data point.

Note: "[Last] Extract" information is deprecated. Refer to MBRCEN, MBRDAT, & MBRTIM for /retrieval/ date-time information.

Regards, Chuck

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.