IBM GC09-2830-00 Server User Manual


 
The bind files are grouped together in different .lst files in the bnd directory,
under the installation directory (typically sqllib\win on Windows 3.x systems
and sqllib for OS/2, and Windows 32-bit operating systems). Each file is
specific to a server.
Binding to Host Databases
To bind the utilities and applications to the DRDA server, connect to the
DRDA server and use commands similar to the following:
connect to dbalias user userid using password
bind path/bnd/@ddcsmvs.lst blocking all sqlerror continue
messages mvs.msg grant public
connect reset
where path corresponds to the DB2PATH registry value. These commands are
described in detail in the DB2 Connect User’s Guide.
Binding to DB2 Universal Databases
How you bind the database utilities to a database depends on your
workstation’s operating system:
v On OS/2 and Windows 32-bit operating systems, you can use the Client
Configuration Assistant by performing the following steps:
Step 1. Start the Client Configuration Assistant (CCA).
Step 2. Select the database to which you want to bind the utilities.
Step 3. Click on the Bind push button.
Step 4. Select the Bind DB2 Utilities radio button.
Step 5. Click on the Continue push button.
Step 6. Enter a user ID and password to connect to the database. The user
ID must have the authority to bind new packages against the
database.
Step 7. Select the utilities you want to bind and click on OK.
v On all operating systems, you can use the command line processor by
performing the following steps:
Step 1. Change to the bnd directory, which is x:\sqllib\bnd, where x: is
the drive where you installed DB2.
Step 2. Connect to the database using the command:
connect to database_alias
where database_alias is the name of the database to which you want
to connect.
Step 3. Enter the following commands in the Command Center or the
command line processor:
120 Quick Beginnings