IBM Books

Installation and Configuration Supplement


Step 6. Bind Utilities and Applications to the Database Server

The steps you have just completed set up the DB2 Connect workstation to communicate with the host or AS/400 system. You must now bind the utilities and applications to the host or AS/400 database server.

To bind the utilities and applications to the host or AS/400 database server, enter the following commands:

   db2 connect to dbalias user userid using password
   db2 "bind path@ddcsmvs.lst blocking all sqlerror continue
        messages mvs.msg grant public"
   db2 connect reset

For example:

   db2 connect to NYC3 user myuserid using mypassword
   db2 "bind /sqllib/myapps@ddcsmvs.lst blocking all sqlerror continue
        messages mvs.msg grant public"
   db2 connect reset


Figure hint not displayed.

The userid and password specified must have the authority to bind applications against the target database.

Further information about these commands can be found in the DB2 Connect User's Guide.


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

[ DB2 List of Books | Search the DB2 Books ]