× 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 wasn't aware of SYSPARTITIONSTAT. Nice that IBM managed to sneak members
into the system catalog. But I don't think member type is in there; so
you'd still have to use QUSRMBRD to get the type. I suppose you could wrap
that in a UDF, in order to let SQL do the grouping. Think I'll stick to
the APIs for the time being.

Joep Beckeringh


wdsci-l-bounces@xxxxxxxxxxxx wrote on 10-11-2011 14:21:30:

MichaelQuigley

Wouldn't it be easier to query the SYSTABLES file from the DB2 System
Catalog? You could select those that have FILE_TYPE = 'S'. Then you
could join to SYSPARTITIONSTAT to get the list of members and sum the
NUMBER_ROWS column? I guess you would need to do something if you
needed
it by source type, but that's probably somewhere else in the System
Catalog--I'm just not sure where off the top of my head.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.