Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2003
    Posts
    15

    Question Unanswered: log & Instance information in views/tables

    Hi DB2 gurus,
    I am very new to DB2, I would like to place these two question :
    1) The ' log file ' information like log file name, location, its size from the tables/views, but not from this command ' GET DATABASE CONFIGURATION ' .

    2) The instance information like name , status, uptime from a table or view.


    Thanks in advance.
    Regards
    Chenna

  2. #2
    Join Date
    Apr 2003
    Posts
    15

    Wink Re: log & Instance information in views/tables

    Sorry,
    I missed this:

    How to get the log and Instance information from a table/view.

    Regards
    Chenna

    Originally posted by chenna
    Hi DB2 gurus,
    I am very new to DB2, I would like to place these two question :
    1) The ' log file ' information like log file name, location, its size from the tables/views, but not from this command ' GET DATABASE CONFIGURATION ' .

    2) The instance information like name , status, uptime from a table or view.


    Thanks in advance.
    Regards
    Chenna

  3. #3
    Join Date
    Jul 2003
    Location
    Austin, TX, USA
    Posts
    278

    Configure Database Logging Wizard

    Hi,

    You can use the Configure Database Logging Wizard available from the control center-- >tools-->wizards options to see the necessary information.

    You can use the below command to get the instance information.

    get dbm cfg

    Hope that helps

    nitin

  4. #4
    Join Date
    Apr 2003
    Posts
    15

    Re: Configure Database Logging Wizard

    Thank You Nitin.

    DB2 doesn't store the Instance or Log file information in a table . am I right ?
    My intention was to get the log/instance info from a table or a view.
    Is it possible to get the same?

    Regards
    Chenna

    Originally posted by nitingm
    Hi,

    You can use the Configure Database Logging Wizard available from the control center-- >tools-->wizards options to see the necessary information.

    You can use the below command to get the instance information.

    get dbm cfg

    Hope that helps

    nitin

  5. #5
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: Configure Database Logging Wizard

    If you are on V8, you may be able to use table functions for a few of these ...

    HTH

    Sathyaram
    Visit the new-look IDUG Website , register to gain access to the excellent content.

Posting Permissions

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