


In some cases of Oracle, the prepare portion gets aged out of cache, and the error "9D,1001 - Invalid cursor" is displayed. The solution is to re-enter the code, while invalidating the prepare portion. Set the USE-INVALID-CURSOR-LOGIC variable to "0" to disable this new logic.