Saturday, 16 February 2019

DB2 - List the alias Name


Run the following command  to get the alias Name:

 db2 list database directory


Output

 System Database Directory

 Number of entries in the directory = 1

Database 1 entry:

 Database alias                       = DB2ALIAS
 Database name                        = DB2
 Node name                            = DB2NODE
 Database release level               = 10.00
 Comment                              =
 Directory entry type                 = Remote
 Catalog database partition number    = -1
 Alternate server hostname            =
 Alternate server port number         =

No comments:

Post a Comment