IBM Support

ERROR: Can't locate <file> in @INC, when Perl hook or script execution occurs

Troubleshooting


Problem

This technote explains why the error, "Can't locate in @INC", occurs when using IBM® Rational® ClearQuest® to run or validate Perl-based hooks and scripts.

Symptom

The an error similar to the following can occur when validating hooks in ClearQuest Designer, or when hooks run with the ClearQuest client software:

Can't locate auto/CQSession/getSessionD.al in @INC (@INC contains: C:\Program Files\Rational\ClearQuest\\lib\MSWin32-x86-multi-thread C:\Program Files\Rational\ClearQuest\\lib C:/Program Files/Rational/ClearQuest/lib/MSWin32-x86-multi-thread C:/Program Files/Rational/ClearQuest/lib.) at task_Notification line 298

[{"Product":{"code":"SSSH5A","label":"Rational ClearQuest"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"API","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"2003.06.00;2003.06.12;2003.06.13;2003.06.14;2003.06.15;2003.06.16;7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.1;7.0.1.1;7.0.1.2","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSSH5A","label":"Rational ClearQuest"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Designer - Hooks","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003.06.00;2003.06.12;2003.06.13;2003.06.14;2003.06.15;2003.06.16;7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.1;7.0.1.1;7.0.1.2","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21130759