You can add global scripts that can be called from any other hooks
in your schema.
To
create a global script:
- In the ClearQuest Schema Repository Explorer, expand the Global
Scripts folder in your schema.
- Right-click a language folder, Basic or Perl,
and click New Script.
- Type a name for the script.
- Double-click the script name to start the Script editor.
- Edit the script. Type your code in place of this line:
REM TODO -- put your script code here
When you create a global script, you create a placeholder for
the hook and you must supply all of the code for your function or subroutine,
including the Function or Sub declaration and parameter list. The names that
you give to your global scripts must be unique within the schema.