I am running PowerBuilder 2017 R3, I have a data window that executes an Oracle procedure with an output parameter as a cursor.
If I execute the datawindow from within the powerbuilder IDE the results are returned and I can see the correct data.
When Run the application and/or build the application and execute it and attempt to utilize the same datawindow object that calls the procedure I get the following error:
ORA-01002: fetch out of sequence.
I have oracle 12c InstantClient 32 installed on my local machine. I can execute the same procedure from TOAD and another developer can run the application and the datawindow returns the results.
My guess is its a local configuration issue but its confusing because it works within the IDE with no problem but even when Running the app from the IDE it will not work.