FPEY0500W PREPARE OF <V1> FAILED. SQL CODE: <V2>

Explanation

A prepare statement failed during preparing a select statement for <V1>. A formatted print of the SQLCA and an error message are provided.
  • <V1> is the object of the select statement.
  • <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).