fixed path to db2 command; added checks for db2 odbc lib and appropriate error messages