I’ve written a tcl proc that use the Connect5.3 to read several Oracle tables and kills or continues the message based on the results back from these tables.
hstmt not open probably means that there was an error that occurred earlier in the proc. Maybe there was a problem initializing the driver, connecting to the database or allocating the statement handle. Are you checking for errors after each of these steps?