Open a command window and navigate to the directory where you downloaded the scripts.
Do one of the following:
For Oracle and DB2 databases, enter the following command:
purge_by_bpname user password database name
For Sybase and SQL Server databases, enter the following command:
purge_by_bpname user password server database name
Where name is the Business Process name to purge. For example, if you specify BusinessProcess1, then all instances of BusinessProcess1 are purged.