ERROR | body of cursor must name statement identifier |
CAUSE | In a Dynamic SQL Method 4 application, the DECLARE... CURSOR statement must name a statement identifier that has been PREPAREd in a preceding statement. The PREPARE statement must physically (not logically) precede the DECLARE command. |
ACTION | This error message is followed by another message that gives the line and column of the reference to the statement. Recode the application. |