Perhaps the OC compiler was not finding your file ...
The following example was taken from one of my scripts that I use to do more or less what you have been trying to do
Hope this helps ...
menu -w;
menu 1; // File menu
/////////////////////////////////////////////////////////
// RNAHL's Special Import Scripts //
/////////////////////////////////////////////////////////
menu -L -i 17 (Import S&pecial);
menu "CSC MC-DSC Files H? and C? Files" {
#Import CSC MC-DSC datafiles
%J=System.Path.Program$;
%J=%JOriginC\system\rnahl\;
if(run.loadOC("%JImportSpecial\MultiCellDSC\HartConv.c")!=0)
{
ty -q Cannot Load Origin Support File HARTCONV.C;
}
else
{
ty -q Loading Origin Support FIle HARTCONV.C;
Read_Hart_HC_DataFiles();
}
};