Databases Reference
In-Depth Information
Table 4-5 DB2 list files for CLI
Server platform
Needed .lst files for CLI
DB2 UDB (Windows, UNIX)
db2cli.lst, db2ubind.lst
DB2 for z/OS® and OS/390®
ddcsmvs.lst
DB2 for VM
ddcsvm.lst
DB2 for VSE
ddcsvse.lst
DB2 for AS/400® and iSeries™
ddcs400.lst
To bind the packages, you need to connect to the database server and run the
BIND command to process the appropriate .lst file.
For example, within a DB2 UDB CLP window on a Windows machine, suppose
we want to bind the CLI packages against a DB2 database on a Linux machine.
Example 4-29 shows the commands we execute to create the CLI and DB2 utility
packages in the SAMPLE database.
Example 4-29 Binding CLI bind files
db2 connect to sample
db2 bind C:\Program Files\IBM\SQLLIB\bnd\@db2ubind.lst sqlerror
continue grant public
db2 bind C:\Program Files\IBM\SQLLIB\bnd @db2cli.lst sqlerror continue
grant public
db2 terminate
In the example above, you might notice that an at character, (@), is added in
front of the list filename. This is needed for the DB2 binder to properly process
each bind file listed in the list file.
 
Search WWH ::




Custom Search