četrtek, 28. marec 2013

Initialize DB2 environment in cmd

Usually when I want to work with DB2 on Windows I run db2cmd, so the DB2 environment gets initialized. However this does not work if I'm connected to a Windows machine via SSH, since db2cmd opens new cmd window.
Solution to this problem is typing "db2cmd -i -w db2clpsetcp" in cmd. Wihout quotes of course.

Ni komentarjev: