Cataloging the SAMPLE database
To access the SAMPLE database on
the server from a remote client, you need to catalog the SAMPLE database
on the client workstation.
You do not need to catalog the
SAMPLE database on the server workstation because it was cataloged
on the server when you created it.
About this task
Cataloging updates the database directory on the client workstation with the name of the database that the client application wants to access. When processing client requests, the database manager uses the cataloged name to find and connect to the database.
Procedure
To catalog the SAMPLE database on the remote client workstation,
enter:
db2 catalog database sample as sample at node nodename where
nodename is the name of the server node.What to do next
You must also catalog the remote node before you can connect to the database.