One of the following has happened:
- you did not specify a database name in your project
- you did not set environment variable DB2DBDFT
Resolution:
Click Project Settings from the Project menu and click the SQL tab. Fill in the database name then recompile your program.