You must add an entry to the DB2 Connect workstations's node directory to describe the remote node. In most cases, you will add an APPC node entry to the node directory. For OS/2, Windows 9x, and Windows NT, you can alternatively add an APPN node entry if your local SNA node has been set up as an APPN node.
To catalog the node, perform the following steps:
step 1. | Log on to the system as a user with System Administrative (SYSADM) or System Controller (SYSCTRL) authority. | ||
step 2. | If you are using DB2 Connect on a UNIX platform, set up the instance environment and invoke the DB2 command line processor. Run the start-up script as follows: . INSTHOME/sqllib/db2profile (for Bourne or Korn shell) source INSTHOME/sqllib/db2cshrc (for C shell) where INSTHOME is the home directory of the instance. | ||
step 3. | To catalog an APPC node, specify the chosen alias (node_name), Symbolic destination name (sym_dest_name), and the APPC security type (security_type) that the client will use for the APPC connection. Enter the following commands: catalog "appc node node_name remote sym_dest_name security security_type" terminate
For example, to catalog a remote database server with the Symbolic destination name DB2CPIC on the node called db2node, using APPC Security type program, enter the following commands: catalog appc node db2node remote DB2CPIC security program terminate | ||
step 4. | To catalog an APPN node, specify the chosen alias (node_name), the network ID ((9)), the remote partner LU ((4)), the transaction program name ((17)), the mode ((15)), and the security type. Enter the following commands substituting your values from the worksheet in Table 26: catalog "appn node db2node network SPIFNET remote NYM2DB2 tpname QCNTEDDM mode IBMRDB security PROGRAM" terminate
|
Note: | To connect to DB2 for MVS, it is recommended that you use security PROGRAM. |
|
If you need to change values that were set with the catalog node command, perform the following steps:
|