database not visible on the db2 server -


on db2 server, while trying list databases on default path executing:

db2 list database directory 

this giving me 1 result:

system database directory   number of entries in directory = 1  database 1 entry:   database alias                       = reportdb  database name                        = reportdb  node name                            = rptsrv  database release level               = d.00  comment                              =  directory entry type                 = remote  authentication                       = server  catalog database partition number    = -1  alternate server hostname            =  alternate server port number         = 

however when executing same list command explicitly mentioning default path of database showing me database infromation:

db2 list db directory on /db2/e2q/  local database directory on /db2/e2q   number of entries in directory = 1  database 1 entry:   database alias                       = e2p  database name                        = e2p  database directory                   = sql00001  database release level               = d.00  comment                              = sap database q01  directory entry type                 = home  catalog database partition number    = 0  database partition number            = 0 

when executing command which db2 getting following result: /db2/db2e2q/sqllib/bin/db2

could suggest me how fixed? unable catalog database on server well, because of path issue.

please help.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -