IBM Support

When running a db2pd command on Windows against an activated database it returns "Option <option> requires <database> or -alldbs option and active database

Troubleshooting


Problem

With certain Windows configurations, the db2pd command can return a message that indicates the database against which you are running the db2pd command is not activated. To be sure that the database is activated, run “db2 activate db ”. If the database is already active, a likely cause is a configuration problem of the “User Rights” in Windows and DB2’s ability to use Windows debugging utilities.

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"DB2 Tools - db2pd","Platform":[{"code":"PF033","label":"Windows"}],"Version":"9.5;9.1;8","Edition":"Enterprise Server","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
30 April 2025

UID

swg21358580