I'm hoping someone can help with this DBI error. I have installed the perl DBD::ODBC driver into a custom directory and everything works fine when the scripts get kicked off via the command line. At the top of each perl script I add the 'use lib pathto dbd::odbc'. However when running in crontab the connect is having an issue. It was first complaining about
System information file not found. Please check the ODBCINI environment variable
So I fixed that by adding the envrionmental variable to the script. I've also added 'LD_LIBRARY_PATH' and 'PERL5LIB' entries to each script as well, however I keep getting this error:
DBI Error => 1
DBI Errstr => 523 80 (SQL-82)
DBI State => S1000
Since it works fine from command line runs I'm assuming it has to have something to do with an environmental variable. But in adding these I'm not sure what else it could be? Please let me know if you wanted me to post anything for diags. Thanks.