IBM Support

DB2 Command Window and CLP hang when being started

Troubleshooting


Problem

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.

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Programming Interface - CLP","Platform":[{"code":"PF033","label":"Windows"}],"Version":"9.7;9.5;9.1","Edition":"Enterprise Server;Express;Personal;Personal Developer's;Workgroup Server","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
23 June 2018

UID

swg21406483