Monday, June 7, 2010

DB21061E Command Line Environment is not initialized (Errors & Solutions #2)

Context:
Using DB2 cmd

Error:
DB21061E Command Line Environment is not initialized.

Solution:

The solution is to set the DB2CLP environment variable so that the process ID is known to the telnet session. Use these commands to set and validate the DB2CLP environment variable:

db2cmd -i -w db2clpsetcp

echo %DB2CLP%

References:

http://www-01.ibm.com/support/docview.wss?uid=swg21237966


No comments:

Post a Comment