01-01-1995, 02:00 AM
From a VB app using RDO I am trying to call cobol stored procedures on the AS400. We are using the DB2 Univerasal Database product to supply the ODBC drivers. I have tried many different variations but basically when I execute the OpenRecordeset method on a query which is calling a stored procedure - VB abends with a stack overflow error. Has any one done what I'm trying to do using Universal DB 5.2. If so what am I missing. As a test I've tried to call stored procs which don't exist and the same problem occurs which leads me to believe the problem is on the client side possibly with the drivers themselves.Trying to call a stored proc which returns parameters does not abend but produces ODBC errors such as "wrong number of parameters passed' or "undefined error text". Any suggestions?