If you have enabled after imaging for your database, the following examples demonstrate the steps to automate your AI file management. If you do not have after imaging enabled, you can enable after-imaging and AI file management simultaneously when your database is online. Otherwise see
Enablingafter-imaging offline. The example uses a database named
mydb.