76
iSeries / Re: Stats - Report Counts etc.
« on: December 08, 2016, 01:28:23 PM »
If you are using ASM as your storage manager, you could use this SQL statement against the QARLCOIT file, which contain a row for each object stored in the instance. In this SQL statement, the where clause selects the index objects (object name ending in 1), of which there should be one per load.
SELECT OBJECT_GROUP, COUNT(*) FROM QUSROND/QARLCOIT WHERE
TRIM(OBJECT_NAME) LIKE '%1' GROUP BY OBJECT_GROUP ORDER BY
OBJECT_GROUP
If you are storing very large reports, you might have more than one data object name per load that ends in A.
SELECT OBJECT_GROUP, COUNT(*) FROM QUSROND/QARLCOIT WHERE
TRIM(OBJECT_NAME) LIKE '%1' GROUP BY OBJECT_GROUP ORDER BY
OBJECT_GROUP
If you are storing very large reports, you might have more than one data object name per load that ends in A.