We are upgrading from NetExpress to Visual Studio/COBOL 8.0
We have a program that runs fine under NetExpress but with Visual COBOL it error with SQLCODE = 000019514- (Cursor is not prepared)
The program is doing the first fetch fine but gets the error on the second fetch, we are doing an update on another table between the fetches but the DB connection is not being disconnected (like in other 19514 issue I have seen).
We are using transaction level commit, so a commit is done between the fetches.
Any help would be appreciated.
Thanks