Using CtCmd with Rational ClearQuest Perl scripts for Rational ClearCase integrations

To facilitate integrations between IBM® Rational® ClearQuest® and IBM Rational ClearCase®, or integrations with other products, it is useful to be able to obtain information about objects in Rational ClearCase VOBs and PVOBs. From Rational ClearQuest Perl scripts, you can use CtCmd, a Perl module that provides an interface to Rational ClearCase. You can locate the CtCmd Perl module at:

http://cpan.org/modules/by-category/03_Development_Support/ClearCase/CtCmd-1.03.tar.gz

In order to use this Perl module in Rational ClearCase triggers for Rational ClearQuest integrations (such as checking in schema changes), and in Rational ClearQuest Perl hook scripts you must build CtCmd on Windows (following the instructions included with the CtCmd kit) and install it to a globally accessible UNC path.

In Using CtCmd for UCM and ClearQuest, there is code to enable using the correct module path based on the platform (OSNAME in the following examples), which allows the hook scripts to pass validation at check in.


Feedback