We are just beginning to use COBOL stored procedures, but we are having a problem when using temporary tables. After we make the call to the COBOL program the connection times out. CMTSTAT is set to inactive. I'm thinking the problem is with the declare of the temp table with the on commit preserver rows, but don't know how to get around this. Any thoughts would be helpful