|
For those who are curious, I took the CREATE VIEW DDL from the DSPFD
and made it readable:
CREATE VIEW SYSPARTITIONSTAT (
TABLE_SCHEMA FOR COLUMN TABSCHEMA,
TABLE_NAME FOR COLUMN TABNAME,
<<SNIP>>
AS SELECT
A.DBXLB2,
A.DBXLFI,
<<SNIP>>
FROM QSYS.QADBXREF A
, LATERAL
( SELECT *
FROM TABLE
( QSYS2.PARTITION_STATISTICS(A.DBXLIB, A.DBXFIL)
) AS X
) AS B
WHERE A.DBXATR IN ('TB','PF','MQ' ) AND A.DBXREL = 'Y'
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.