Activating Data

The Activation process includes validation; TMS will not activate terms and relations that violate level definitions and other user-defined rules. See About Activation.

When you run Activation in Check mode, TMS invokes the Activation process but stops short of transferring the data to the production tables. You can view results of a Check mode Activation in either Maintain Repository Data or Repository Authoring windows, or by running the Preliminary Repository Report. In the Maintain windows, data that went through Activation still has DML statements displayed. Data that would fail Activation also now has error messages. You can make the necessary changes before activating the data using Transfer mode.

In Transfer mode, TMS runs the Activation process to completion, moving valid preliminary data to the production table. Invalid preliminary data remains in the predict tables associated with an error message.

There are two ways to invoke Activation in the GUI:

  • Click the Transfer Data button in the Maintain Repository Data or Repository Authoring windows. TMS immediately runs the Activation job on the current Activation Group and transfers valid preliminary data to the production tables.

    You can also run Activation in Check mode from the Repository Authoring window by clicking the Check Data button at the bottom of the window.

  • Use the Activate Data batch job from the menu. This option allows you to choose any Activation Group and run the job in either Check or Transfer mode.

To invoke Activation from the menu:

  1. From the Repository Maintenance menu, select Activate Preliminary Data. The Activation batch job window appears.
  2. In the first line enter the Activation Group you want to activate from the list. See Modifying Repository Data in the Maintain Repository Data Window for information about Activation Groups.
  3. In the Activation Mode field, choose Check to run in Check mode or Transfer to run in Transfer mode.
  4. Schedule or submit the job. For more information on running and scheduling batch jobs, see Reports and Batch Jobs.

You can also run Activation from a SQL*Plus prompt by issuing the following command:

exec tms_user_activation.activateTerms(pActivationGroupId, pMode)

where pActivationGroupId is the internal ID number of the Activation Group, and pMode is 'C' for Check mode, and 'T' for Transfer mode.