Deleting distributor objects

To delete distributor objects:

  1. Type the following to first delete contract objects:
    • DB2
      • AIXi5/OSiSeriesSun Solaris Operating EnvironmentLinux./dbclean.sh -object contract -type obsolete-instancexml instancename-db dbname -dbuser user -dbpasswdpassword
      • Windowsdbclean -object contract -type obsolete-instancexml instancename-db dbname -dbuser user -dbpasswdpassword
    • Oracle
      • AIXSun Solaris Operating Environment. dbclean.sh -object contract -type obsolete-instancexml instancename-db dbname -dbtype oracle -dbuser user -dbpasswdpassword
      • Windowsdbclean -object contract -type obsolete-instancexml instancename-db dbname -dbtype oracle -dbuser user -dbpasswdpassword

      Use host:port:sid for the Oracle database name. For example, myhost:1521:mydb.

  2. Type the following to delete fulfillment center objects:
    • DB2
      • AIXi5/OSiSeriesSun Solaris Operating EnvironmentLinux./dbclean.sh -object fulfillment_center -type obsolete -instancexml instancenamedb dbname -dbuser user -dbpasswdpassword
      • Windowsdbclean -object fulfillment_center -type obsolete-instancexml instancename-db dbname -dbuser user -dbpasswdpassword
    • Oracle
      • AIXSun Solaris Operating Environment. dbclean.sh -object fulfillment_center -type obsolete-instancexml instancename-db dbname -dbtype oracle -dbuser user -dbpasswdpassword
      • Windowsdbclean -object fulfillment_center -type obsolete-instancexml instancename-db dbname -dbtype oracle -dbuser user -dbpasswdpassword

      Use host:port:sid for the Oracle database name. For example, myhost:1521:mydb.

  3. Type the following to delete store objects:
    • DB2
      • AIXi5/OSiSeriesSun Solaris Operating EnvironmentLinux. dbclean.sh -object store -type markedfordelete-instancexml instancename-name storeID -db dbname -dbuser user -dbpasswd
      • password -instancexmlWC_installdir/instances/instance_name/xml/instance_name.xml
    • Windowsdbclean -object store -type markedfordelete-instancexml instancename-name storeID -db dbname -dbuser user -dbpasswdpassword-instancexmlWC_installdir/instances/instance_name/xml/instance_name.xml
  4. Oracle
    • AIXSun Solaris Operating Environment. dbclean.sh -object store -type markedfordelete-instancexmlinstancename-name storeID -db dbname -dbtype oracle -dbuser user -dbpasswdpassword-instancexmlWC_installdir/instances/instance_name/xml/instance_name.xml
    • Windowsdbclean -object store -type markedfordelete-instancexml instancename-name storeID -db dbname -dbtype oracle -dbuser user -dbpasswdpassword-instancexmlWC_installdir/instances/instance_name/xml/instance_name.xml

    Use host:port:sid for the Oracle database name. For example, myhost:1521:mydb.

  5. Examine the WC_installdir/instances/instance_name/logs/DBClean/DBClean.timestamp.log file.

Feedback