FPEY0504W DECLARE OF <V1> FAILED. SQL CODE: <V2>
Explanation
A declare statement failed during declaring the
program cursor. A formatted print of the SQLCA and an error message
are provided.
- <V1> is the program cursor.
- <V2> is the SQL code.
User response
Check the SQL code and follow the instructions given in Db2 Messages and Codes (or in the corresponding manual of the Db2 version you have installed).