Setting Up the CLI Environment

Several steps are involved in setting up a DB2 UDB CLI environment. Slight differences are necessary depending on whether a development environment is needed or just the run-time environment. However, the basic steps are as follows:

  • The appropriate DB2 UDB package must be installed. If a developer's environment is needed then the SDK is necessary; otherwise, at a minimum, the DB2 UDB Client Application Environment (CAE) is needed.
  • The database being accessed is cataloged properly. If the database is remote, a node must also be cataloged.
  • DB2 UDB CLI bind files must be bound to the database.
  • Configure the CLI environment using the CCA or edit the db2cli.ini file directly. It is important to remember to examine the CLI ...

Get DB2® Universal Database™ v8 Application Development Certification Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.