SQL0206N "PKGNAME " is not valid in the context where it is used. SQLSTATE=42703
Technote (troubleshooting)
Problem(Abstract)
Exception received when trying to start the IBM WebSphere Studio Asset Analyzer distributed scanner on a Windows XP machine. The same driver has no problems on Windows 2000.
Symptom
[IBM][CLI Driver][DB2] SQL0206N "PKGNAME " is not valid in the context where it is used. SQLSTATE=42703
COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2] SQL0206N "PKGNAME" is not valid in the context where it is used. SQLSTATE=42703
Resolving the problem
From a DB2 command window, do the following:
cd to DB2DIR\bnd
db2 connect to 390db user adminID using password
db2 bind @ddcsmvs.lst blocking all grant public sqlerror continue
db2 terminate
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Rate this page
Please take a moment to complete this form to help us better serve you.