7609 Fetch statement is incompatible with current CURSOR definition.
Explanation: At runtime, the FETCH statement considers the compile-time definition of the tables used in the cursor
SELECT statement. The table definitions may change at runtime and may not be compatible in terms of data types or sizes
with the definition assumed by the FETCH statement.
Generated By: RTS modules.
For Whom: End User.
Remedy: Recreate the Stored Procedure with current table definition and resubmit the request.
The datatypes of par1 and pa2 are probably not matching the column definition.
Btw, i would prefer FOR or WHILE over LOOP for cursor processing.
Dieter
From the Messages manual:
The datatypes of par1 and pa2 are probably not matching the column definition.
Btw, i would prefer FOR or WHILE over LOOP for cursor processing.
Dieter