ANL1010W PGM CANNOT DETERMINE THE COST OF STATEMENT: nnnnnnnnn, SQLCODE = cccc. THE PREPARED FORM OF THE STATEMENT WAS UNACCEPTABLE TO Db2®. The statement is ignored and processing continues.

Explanation

An SQL error code -518 or -084 was encountered, indicating Db2 could not prepare the statement because of its SQL content. SQL PA moves on to the next explainable statement. Sometimes, a -518 is caused by SQL not properly aligned in columns 1-72, in which case SQL PA scans only part of the query.

User response

Check the input file and correct any errors.