Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2004
    Posts
    5

    Unanswered: Dropping a database alias?

    I mistakenly created a database with the wrong alias. What is the command to drop that alias and create a new alias? Any help appreciated....
    atabase 1 entry:

    Database alias = DORTIFPC
    Database name = DORTIFPC
    Local database directory = /ifpctcat
    Database release level = 9.00
    Comment =
    Directory entry type = Indirect
    Catalog node number = 0

    Database 2 entry:

    Database alias = DORTIFP2 **** Want to get rid of ***
    Database name = DORTIFPC
    Local database directory = /ifpctcat
    Database release level = 9.00
    Comment =
    Directory entry type = Indirect
    Catalog node number = 0

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650
    Can you post the output of

    list db directory on /ifpctcat
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  3. #3
    Join Date
    Jan 2004
    Posts
    5

    output

    dortifpc@dordb3: /ifpctcat => db2 list db directory on /ifpctcat

    Local Database Directory on /ifpctcat

    Number of entries in the directory = 1

    Database 1 entry:

    Database alias = DORTIFPC
    Database name = DORTIFPC
    Database directory = SQL00001
    Database release level = 9.00
    Comment =
    Directory entry type = Home
    Catalog node number = 0
    Node number = 0

  4. #4
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650
    uncatalog database DORTIFP2

    should solve your problem
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  5. #5
    Join Date
    Jan 2004
    Posts
    5

    Smile That did it!!

    Thanks for your help..

Posting Permissions

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