SQL0122S cursor
cursor
already declared
The current cursor
cursor
has already been declared. Make sure the cursor name is valid and remove or rename it.
Parent topic:
SQL - SQL PL/I Precompiler Error Messages