DB2 CATALOG database command
Kevin Scott (11●1●2)
| asked Aug 20 '18, 10:42 a.m.
edited Aug 21 '18, 9:57 a.m. by Rosa Naranjo (2.9k●1●17●23) Why should anyone catalog a Db2 database when it automatically catalogs databases when they are created? It catalogs an entry for the database in the local database directory and another entry in the system database directory. If the database is created from a remote client (or a client which is executing from a different instance on the same machine), an entry is also made in the system database directory at the client instance.
|
One answer
The most likely reason would be to enable a connection to a remote database within your 'local' instance One example in RTC + Cognos would be where one catalogs the jazz warehouse db "adjacent" to the databases used by cognos as cognos seemingly cannot use jdbc to connect.
db2 connect to remote_db user dbuser using dbpassword |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.