Deleting shared fragments

Shared fragments that are no longer required can be deleted from the database. When a shared fragment is deleted, the associated shared fragment key is also deleted automatically. The shared fragments that are deleted are specified by a filter definition in the condition file. Shared fragments are deleted using an option offered by the runppmimport command line program (see PPM Operation Guide).

runppmimport -client ... -deletesharedfragements <Condition file>

Condition file

The condition file contains conditions for the deleting of shared fragments, formulated in XML notation. The file has the following structure:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE sharedfragmentsdeleterules SYSTEM
'sharedfragmentsdeleterules.dtd'>

<sharedfragmentsdeleterules>

<sharedfragmentkeys>

<key value="abc*" />

<key value="def?"/>

<key value="ghi" />

</sharedfragmentkeys>

Either

<timespan>

<starttime value="03.01.1970 00:01" />

<endtime value="31.12.2001" />

</timespan>

or

<timestamp value="01.01.1970 00:00" />

</sharedfragmentsdeleterules>

The structure of the condition file is specified by the following DTD:

ppm_customizing_12