DSNH053I error issued during COBOL compile
search cancel

DSNH053I error issued during COBOL compile

book

Article ID: 246798

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

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.                                                      

 

Environment

Release : All Supported Releases

Component : Endevor

Resolution

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.