I’m calling a program via a FETCH RETURN but when the called program is done my Natural session terminates instead of returning to the calling program. The called program ends with an ESCAPE ROUTINE when PF-KEY F3 is selected. The called program inputs a map or two depending on what is selected. It also does updates, stores and deletes but other than that, nothing fancy or unique, pretty straightforward stuff. Any ideas how this would happen???
I suggest invoking the calling routine from the Debugger after placing breakpoints on the PF3 process and ESCAPE ROUTINE statement in the called routine.
Is the FETCH RETURN inside of some loop?
Is the object that issues the FETCH RETURN a program? If not, what type of object.
Does this always happen?