Really odd thought but any chance you're doing a changed object save?
Reorganizing the files would definitely turn on the change flag.
Curious, are you using this to find members with a lot of deleted rows?
SELECT SYSTEM_TABLE_SCHEMA, SYSTEM_TABLE_NAME, SYSTEM_TABLE_MEMBER,
NUMBER_DELETED_ROWS
FROM qsys2.syspartitionstat
ORDER BY number_deleted_rows desc
If you've got any chops there's a way to create your own QCMDEXC UDF
(function, not procedure) and do something like
SELECT SYSTEM_TABLE_SCHEMA, SYSTEM_TABLE_NAME, SYSTEM_TABLE_MEMBER,
NUMBER_DELETED_ROWS, qcmdexc('rgzpfm...)
FROM qsys2.syspartitionstat
ORDER BY number_deleted_rows desc
with the usual caveats that you may want to use a where clause to only
reorg the most cost effective ones,
and consider reorganizing by a key for performance.
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
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.