The cursor specified in a FETCH or CLOSE statement
Posted: Fri Jun 20, 2003 2:52 am
Hi There,
I've been running a job for a few months - successfully. Nothing changed on my job.
I'm now getting the following error when running this same job:
"[IBM][CLI Driver][AS] SQL0501N The cursor specified in a FETCH or CLOSE statement is not open. SQLSTATE=24501"
The job currently only extracts 300 rows from 2 DB2 Databases, and then aborts.
The IBM documentation doesn't help, and I'm still not sure what to do to fix this error.
I've been running a job for a few months - successfully. Nothing changed on my job.
I'm now getting the following error when running this same job:
"[IBM][CLI Driver][AS] SQL0501N The cursor specified in a FETCH or CLOSE statement is not open. SQLSTATE=24501"
The job currently only extracts 300 rows from 2 DB2 Databases, and then aborts.
The IBM documentation doesn't help, and I'm still not sure what to do to fix this error.