I wrote a stored procedure and its executing fine in IBM DB2 client ...But When I tried to call from VB Data environment it closes the application...any reasons why?