BDS Global Data Cleanup
BDS cleanup generates SELECT and DELETE scripts.
BDS cleanup can be used from the command line as follows:
ant -Dapplication.name=[application.name] -Dmajor.version=[major.version] generate-bds-sql
- select_[db.type]_[application.name]_[major.version].sql
This contains the SQL command to run to list all the Case Model versions deployed for the given major version. It also prints the required Case Model Drop Script. Check the output of the select script carefully before running the delete script.
- delete_[db.type]_[application.name]_[major.version].sql
This contains the SQL commands to run to purge the BPM database of the Case Model information. It starts by selecting the required Case Model Drop Script.
db2 export to output.txt of del LOBFILE combined_drop_script SELECT combined_drop_script FROM amxbpm.bds_casemodels where component_name = '[application.name]' AND major_version = '[major.version]'