COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS Transformer => Topic started by: nayitian on 16 Aug 2007 01:24:42 PM

Title: cube running on Unix
Post by: nayitian on 16 Aug 2007 01:24:42 PM
Hi

On Unix machine, when I execute scripts by typing myjob.sh, cube can be run successfully. But when I setup cronjob to schedule, it fails. I double check the environment setting between my login priviledge and scripts, there is no discrepency.

The error message I have is :
DMS-E-DBDLL_NOTFOUND, The dynamic link library 'libclntsh' could not be located in the search path or one of its dependent dynamic link libraries failed to load.

Did I miss something here? Thank you.
Title: Re: cube running on Unix
Post by: jeemalif on 17 Aug 2007 08:06:32 PM
Make sure you set all your environment variables in your script. To be 100% sure, redirect the output of "env" or "set" to a text file, and cleanup and add in the beginning of your script.