Either you did not specify a database name in your project, or you have not set the DB2DBDFT environment variable to specify a database name. 
	 
 
  
 
	  
		Resolution: 
		
 
		Do one of the following: 
		
 
		  - On the 
			 SQL tab in your Project Properties:
			 
				- Set the 
				  ESQL Preprocessor to 
				  DB2/HCO
				
 
				- Set the DB directive, specifying the name of your DB2 database as its value
				
 
			 
		   
 
		  - Set the DB2DBDFT environment variable value to the name of your DB2 database 
		  
 
 
		
 
		 
 
		Then, recompile the program.