230 IBM Content Manager OnDemand Guide
10.5  Expiration processing on Multiplatforms and z/OS
This section goes into detail about the expiration process on Multiplatforms and z/OS.
10.5.1  Content Manager OnDemand expiration: ARSMAINT
The ARSMAINT program manages application group data in the Content Manager OnDemand 
database and in cache storage. 
Y ou typically run the ARSMAINT program on a regular schedule to perform the following tasks:
/SM590000Migrate files from cache storage to archive storage.
/SM590000Delete files from cache storage.
/SM590000Optionally, migrate index data from the database to archive storage.
/SM590000Delete index data from the database.
The application group data and the data that you stored in cache are all managed by the 
ARSMAINT program. It is managed by using the storage management values from the 
application groups that are defined to the system.
Here are the storage management field values that are used:
/SM590000Life of Data and Indexes
/SM590000Length of Time to Cache Data on Magnetic
/SM590000Length of Time Before Copying Cache to Archive Media
/SM590000Length of Time Before Migrating Indexes to Archive Media
/SM590000Length of Time to Maintain Imported Migrated Indexes
/SM590000Expiration Type
10.5.2  Expiring indexes
The ARSMAINT program uses the Expiration Type field value to determine how to delete index 
data from an application group. The ARSMAINT program can expire a table of application group 
data at a time, a load at a time, or individual documents. Ensure that the ARSMAINT program 
command runs periodically (for example, daily) so that Content Manager OnDemand deletes 
indexes and cache data (and the storage manager deletes archive data, if applicable). By 
running the ARSMAINT program regularly, you ensure that the expired documents can no 
longer be retrieved.
Additionally, you can start manual expiration processing by running the ARSMAINT program 
from the command line. For example, to run expiration processing, run the following 
command at the command line:
arsmaint -d
When the ARSMAINT program removes indexes, it saves the following message in the system 
log:
“128 ApplGrp Segment Expire (ApplGrp) (Segment)”
One message is saved in the system log for each table that was dropped during expiration 
processing.