Processing, DBUTLTY and SQL Messages › SQL Preprocessor Messages (DB2xxxxc) › DB21062E
DB21062E
SQL STATEMENT FOUND IN NESTED PROGRAM
Reason:
An SQL statement has been found in other than the first program when using nested programs or batch compilation.
Action:
All SQL statements must be embedded in the first program.