Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003
    Posts
    1,605

    Unanswered: How to check out if ACTIVATE DATABASE command was executed?

    Hi,
    1. How to check out if "ACTIVATE DATABASE" command was executed? (command: db2 activate database sample)
    2. How to activate database automaticaly after db2stop command was executed?
    Thanks,
    Grofaty

  2. #2
    Join Date
    Jan 2003
    Posts
    1,605
    Hi,
    I have figured out:
    get snapshot for database SAMPLE

    If output of above command is "No data was returned by Database System Monitor" the database is deactivated. If command returns some data, then there is one of the row is: "Database Status = Active"

    Any comment?
    Grofaty

Posting Permissions

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