IBM Books

Image, Audio, and Video Extenders Administration and Programming


Establishing the extender environments

From the operating system command line on the server, enter the DMBSTART command to start the extender services:

dmbstart

The DMBSTART command starts extender services for all databases that are enabled to hold extender data. The command also starts DB2 if it is not running. You need SYSADM, SYSCTRL, or SYSMAINT authority to run the command. On AIX, you must be logged on as the extender instance owner.

At this point, your C language application can access extender services through the APIs, if the application establishes a connection to the database. Similarly, if you want to use the db2ext command line, you must connect to the database you want to work with. The db2ext command line requires an independent connection separate from one that is used by the DB2 command line.

Open the db2ext command-line processor on the client and run the DB2 extenders CONNECT command. In the following example, the command connects to the PERSONNL database. It accesses tables with the ANITAS qualifier using the ANPASS password:

connect to personnl user anitas using anpass

EEE Only: If you are using DB2 extenders in a partitioned database environment, the DMBSTART command will start extender services in all database partition servers defined for the instance. If you want to start extender services at one database partition server only, you do so by specifying in the command the node you want to start. The example below shows what you would type to start extender services at node number 2.

dmbstart nodenum 2

EEE Only: Before you start a single database partition server, you must start DB2 at that node.

Now you can run the rest of the DB2 extender commands that are listed in Chapter 17, Administration commands for the client.


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