Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Administering: Archiving and Purging by Application Name
 

Classic Java CAPS

Managing Java CAPS Users

Using LDAP with Java CAPS

Administering the Sun Business Process Manager Database

Creating the Monitoring and Recovery Database

Creating the Database Instance

Running the Scripts in Enterprise Designer

Running the Database Scripts from a Local Directory

Running Database Scripts Automatically

To run the scripts automatically

Purging and Archiving Sun BPM Data

Installing the Purge and Archive Database Components

Archiving and Purging by Retention Days

Archiving and Purging by Business Process Name

Archiving and Purging by Application Name

Using the Sun Business Process Manager Worklist Manager for User Activities

Maintaining Sun Master Indexes (Repository)

Working With the EDM for Sun Master Patient Index

Working With the EDM for Sun Master Index

Java EE Based Components

Working With the Master Index Data Manager

Maintaining Sun Master Indexes

Analyzing and Cleansing Data for Sun Master Index

Loading the Initial Data Set for a Sun Master Index

Archiving and Purging by Application Name

The following scripts are provided to archive and purge records based on the specified application. The UNIX versions of these scripts have a .sh extension.

To purge records based on application name
  1. Open a command window and navigate to the directory where you downloaded the scripts.
  2. Do one of the following:
    • For Oracle and DB2 databases, enter the following command:

      purge_by_appname user password database name

    • For Sybase and SQL Server databases, enter the following command:

      purge_by_appname user password server database name

      Where name is the application name to purge. For example, if you specify Application1, then all instances of Application1 data are purged.

To archive records based on application name
  1. Open a command window and navigate to the directory where you downloaded the scripts.
  2. Do one of the following:
    • For Oracle and DB2 databases, enter the following command:

      arch_by_appname user password database name

    • For Sybase and SQL Server databases, enter the following command:

      arch_by_appname user password server database name

      Where days is the application name to archive. For example, if you specify Application1, then all instances of Application1 data are archived.