IBM Support

'TruncateTransactionTables.sql' script is not considering the custom tables or Hang-Off tables.

Question & Answer


Question

How do you include custom tables and Hang-Off tables in the 'TruncateTransactionTables.sql' script in IBM Sterling Order Management?

Cause

Using generate a script to remove transaction data as per product documentation generates the output sql script i.e. TruncateTransactionTables.sql but it does not include custom Tables or Hang-Off tables.

Answer

This utility is an old utility, and it is being carried forward from Legacy Systems. It considers only <Sterling_INSTALL_DIR>\repository\entity folder while reading the entity definitions.


To include custom tables and hang-off tables, place the custom entity definitions in <Sterling_INSTALL_DIR>\repository\entity\extensions folder.

NOTE: Only custom tables and hang-off tables defined as transaction tables (i.e. EntityType="TRANSACTION" is mentioned in their entity definition) will be included in output script.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Documentation","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF014","label":"iOS"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.0;9.1;9.2;9.2.1;9.3;9.4;9.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
10 May 2022

UID

swg21986203