DB2 Command Window and CLP hang when being started

Technote (troubleshooting)


Problem(Abstract)

DB2 Command Window or CLP hang when being started. A blank window is opened which just hangs.

Symptom

DB2 Command Window or CLP hang when being started. A blank window is opened which just hangs.


Diagnosing the problem

An application like Process Explorer (technet.microsoft.com/en-us/sysinternals/bb896653.aspx) will show that the process that is actually hanging is chcp.com. It reports the following chain of executeables:


    cmd.exe --> db2clpsetcp.exe --> cmd.exe --> chcp.com

You can verify that the problem is actually with chcp.com by opening a Command Window and executing

    cmd /c chcp 1252

which should also hang.

Resolving the problem

Please refer to Microsoft Knowledge Base article 925271 (for Windows XP):


or article 9600028 (for Windows Server 2003)
for more information. It is recommended that you discuss the problem with Microsoft Support before downloading and applying any fix.

Related information

DB2.EXE may hang in Windows Server 2003
DB2.EXE may hang in Windows XP

Rate this page:

(0 users)Average rating

Document information


More support for:

DB2 for Linux, UNIX and Windows
DB2 Tools - CLP

Software version:

9.1, 9.5, 9.7

Operating system(s):

Windows

Software edition:

Enterprise Server, Express, Personal, Personal Developer's, Workgroup Server

Reference #:

1406483

Modified date:

2014-02-20

Translate my page

Machine Translation

Content navigation