During the execution of an Endevor Generate Processor, the DB2 pre-compiler step issues the DSNH053I error and generates an empty file because the input program had no SQL statements. The subsequent File-Aid step checks this file and issues return code 8 when it's empty.
DSNH053I W DSNHMAIN NO SQL STATEMENTS WERE FOUND
Explanation
No SQL statements were found in the precompiler input file. An empty DBRM member was written.
Release : All Supported Releases
Component : Endevor
The reason for this error was a non-DB2 program was run through using a DB2 processor. To resolve the problem, process program with a non-DB2 processor.