Scripting languages

Hooks are scripts or triggers that run under a set of conditions to perform a specific task.

You can write hooks in BASIC (VBScript) for Windows and in Perl for both Windows and the UNIX system. You must use Perl when writing scripts for the UNIX system.

If you are using the Rational® ClearQuest® Web client, you can use either Perl or VBScript. Rational ClearQuest Web supports the use of BASIC (VBScript) and Perl scripts.

By default, scripts run in BASIC on Windows and in Perl on the UNIX system. The Windows Scripting Language setting must be the same language as the language that the scripts are written in. For example, if BASIC is selected as the Windows Scripting Language and a hook is written in Perl, that hook is not triggered on Windows.

After checking out a schema, you can select the scripting language to be used to run scripts on Windows.

For more information, see Using hooks to customize your workflow.