Deleting Existing Analytic Instances

To delete an existing analytic instance for an analytic type:

  1. Shut down any optimization engines that have this analytic instance currently loaded.

  2. Using Application Engine or a similar mechanism, delete the data in the optimization application tables pertaining to that analytic instance.

    Use the analytic instance ID as the key value to find and delete analytic instance rows from scenario-managed optimization application tables.

  3. Use the function DeleteOptProbInst with the analytic type and analytic instance as arguments to delete the analytic instance ID from PeopleTools metadata.

    Note:

    If you try to delete an existing analytic instance that is loaded in a running optimization engine, DeleteOptProbInst returns %OptEng_Fail, and the optional status reference parameter is set to %OptEng_Exists.