DB2 Connect Quick Beginnings for Linux**

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
   db2 terminate

For example:

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


Figure hint not displayed.

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

For more information about these commands, refer to the DB2 Connect User's Guide.


[ Top of Page | Previous Page | Next Page ]