When I am trying to query the DB2 with a select query having a join using DB2 client - Command center everything works fine.
But on querying through a java application (program) I am getting following error:

com.ibm.db2.jcc.b.SQLException:
UNSUCCESSFUL EXECUTION CAUSED BY AN UNAVAILABLE RESOURCE. REASON 00D70024, TYPE OF RESOURCE 00000220, AND RESOURCE NAME DBASE2.DSNDBC.DOED003A.LA203001.I0001.A001
at com.ibm.db2.jcc.b.ca.next(ca.java:255)
at DB.main(DB.java:54)

I am new to all this... it would be great if anyone can help...

regards,
gaurav