Purging the Automatic Diagnostic Repository

adrci> set control (SHORTP_POLICY = 240)
adrci> set control (LONGP_POLICY = 720)

The time is specified in hours, 240 = 10 days, 720 = 30 days.