Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2011

    Post Unanswered: How can I fetch the state of the DB2 database

    I have a DB2 database and I want to fetch the state (roll forward pending state). To get this information I need to connect to the database and run the command get db cfg or query the DBCFG catalog table.

    Is there a way I can fetch this information without connecting to the database?

    From some log or from the thread running in the OS?

    Please advice...

  2. #2
    Join Date
    Jun 2003
    Toronto, Canada
    Provided Answers: 1
    You _don't_ need to connect to the database to use GET DB CFG. You could also use db2pd or capture the SQLCODE of a CONNECT command.

  3. #3
    Join Date
    Jun 2009
    db2 "rollforward db <dbname> query status"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts