IBM Books

Quick Beginnings


Step 4. Update the DB2 Directories

To configure the DB2 directories, do the following at the SNA client 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 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 NYC3 as DB2DB at node DB2NODE authentication dcs
    

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

In the DB2 commands above:



note

You now need to update the DB2 directories, test the connection, and bind utilities and applications to the server. The easiest way to do this is to use the CCA as described in Chapter 9. "Configuring DRDA Host Connections on OS/2 or Windows NT Workstations". However, you can also perform these steps manually as described in the sections that follow.


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

[ DB2 List of Books | Search the DB2 Books ]