Quick Beginnings
To configure the DB2 directories, enter the following commands in the
DB2 Connect command line processor:
- Catalog the DRDA server as an APPC node. The syntax of the command
is:
catalog appc node node_name remote sym_dest_name security program
For example:
catalog appc node DB2NODE remote DB2CPIC security program
Note: | The case of the sym_dest_name (DB2CPIC in this example) must match
the case of the SymDestName in the Side Information definition.
|
- Catalog the remote database as a Data Connection Services (DCS)
database. The syntax of the command is:
catalog dcs Database local_dbname as real_host_dbname
For example:
catalog dcs Database NYC3 as NEW_YORK3
- Catalog a Database alias for the remote database. The syntax of the
command is:
catalog db local_dbname as Db_alias at node node_name authentication dcs
For example:
catalog db DB2DB as NYC3 at node DB2NODE authentication dcs
In the DB2 commands above:
- node_name can be any valid eight-character name
- sym_dest_name is the name of your Side Information
Profile.
- local_dbname can be any valid eight-character name
- Db_alias can be any valid eight-character name
- real_host_dbname is the name of the database you want to connect
to at the DRDA server.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
[ DB2 List of Books |
Search the DB2 Books ]