Foreword : Win7 Some software under the abnormal, with Win7 's authority has very big relation.
After installing the DB2 9.7 client under Win7, run Db2cmd in CMD to start the CLP, and any commands that enter DB2 are displayed:
sql5005c System ErrorThen try to use the shortcut key in the Start Menu "Command Window-manager", found DB2 command available, explore the original, the original run Db2cmd must be
AdministratorTo run the identity. Although my current user workman is the administrator, but it is not. (ppjava2009 comment, run db2cmd change to run C:\ibm\sqllib\bin>db2cwadmin.bat on the line) view Db2cwadmin.bat, is an environment initialization script, Start menu shortcut key " Command Window-Manager "is to point to the Db2cwadmin.bat run JMeter for database testing, the user Workman run JMeter, the result of execution times error:
sql1031n The database directory was not found in the indicated file system. sqlstate=58031
This is obviously an exception when calling the DB2 client, and the DB2 client is good, I can connect to the server's DB2 database on the client, so DB2 client should be OK. When I run JMeter, I
Run as Administrator, connect the database properly.
DB2 WIN7 WIN8 The database directory is not found in the indicated file system