When needing to re-organise a database where the current Storage Area is near the maxarea limit,
move the indexes at the same time in order that there's no need to rebuild in the current area.
eg: PROUTIL -C TABLEMOVE <tablename> <newStorageAreaname> <newStorageAreaname2>
Where:
<newStorageAreaname>: The first storage area name specified is where the table's data will be moved.
<newStorageAreaname2>: The second storage area name specified is where the table's indexes will be moved. It can be the same area as the data or a different storage area (recommended), depending on the re-organisation design.
An additional consideration is that when moving indexes with the table as part of a TABLEMOVE, this will move all the related indexes to the specified Storage Area for indexes in the TABLEMOVE command. If indexes then need to be separated into distinct Storage Areas, another IDXMOVE operation will be needed. For example when the database design is such that the Primary Index is housed in the same Storage Area as the table and other indexes in a separate Storage Area.