EGL0501E A statement statement used a result set that is closed or does not exist.
Explanation
The result set used by the statement cannot be used because it is not open or does not exist.
User Response
Correct the program logic to avoid using result sets that are not valid.