title: Permanently set DB2CLP environment variable
body: <p>I have a problem with DB2CLP environment variable, on Windows 7 64, IBM_client64_V97 (to be connected with DB2).</p>
  
  <p>Every time when i try to DB2 in Windows command prompt window, I receive this error:</p>
  
  <p>DB21061E  Command line environment not initialized.</p>
  
  <p>and per <a href="http://www-01.ibm.com/support/docview.wss?uid=swg21237966" rel="nofollow">this</a> document using just this step:</p>
  
  <pre><code>2. at the prompt enter these commands:
  db2cmd -i -w db2clpsetcp 
  echo %DB2CLP%
  </code></pre>
  
  <p>I fix that error, and "db2" command opens Command Line Processor for DB2 Client.
  But it lasts only until windows CMD is open. As soon as I close it and reopen, I have to repeat process.</p>
  
  <p>My question (being absolute novice to DB2) is:</p>
  
  <ol>
  <li>How should I make that change permanent and</li>
  <li>How this happened at the first place as I installed and setup everything according to the manual (including adding local user to DB2USERS and DB2ADMINS) groups?</li>
  </ol>