Lets say there is a cobol program A, which calls another cobol DB2 program
There is a cursor in program B, we do open it, fetch it but do not close it in
the called program.
Now when the control returns back to A, would the cursor be closed, since the control
is no more with the program which is using the cursor or would it remain open.