IBM Books

Quick Beginnings


Step 4. Update the DB2 Directories

To configure the DB2 directories, do the following at the DB2 Connect workstation:

  1. 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 Symbolic Destination Name in the CPI-C Symbolic Destination Name Properties definition.

  2. Catalog the remote database as a Data Connection Services (DCS) database. The syntax of the command is:
       catalog dcs db local_dbname as real_host_dbname
    

    For example:

       catalog dcs db NYC3 as NEW_YORK3
    

  3. 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:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]