Hi Paul,
You could use REXX or JCL to query the catalogue tables to get candidates for increased maxpartitions. I however think it's a better approach to look at total space used for the table and aim use less than a certain percentage of max allowed space, and when that threshold is passed, increase the maxpartitions. If you only look at the utilization of the last partition your table can easily be filled by a load before an increase is triggered.
But like Ed was saying, always make sure there is a data maintenance/clean up routine in place ;)
Regards
Johan
------------------------------
Johan Sundborg, Swedbank AB
------------------------------
Original Message:
Sent: Jul 14, 2022 05:26 AM
From: Paul Jansen
Subject: DB2 z/os alter maxpartitions based on percentage full last partition
Is there somebody who has automated the process of altering the maxpartition size base of the utilisation of the last partition for a PBG?
Maybe some kind of rexx based on systablespacstats information?
Kind regards, Paul
------------------------------
PaulJansenATOS
------------------------------