ORA-17028
Cannot do new defines until the current ResultSet is closed.
Cause
An attempt is being made to declare new defines on a statement that has an open result set.
Action
Ensure the result set is closed before declaring new defines.