have determined that the "exec sql close cursor" was not being executedCLOSE CURSOR performs an explicit close when it executes.
under a certain condition... although the closcursor *endmod is in place...
so could that be the issue?
What prompted you to look at open files?
i didn't - team is working on other problems
in endday and noticed this...