You can submit DB2 extender administration commands to the db2ext command-line processor in interactive mode or in command mode. Interactive mode is characterized by the db2ext prompt. In this mode, you can enter only DB2 extender administration commands. In command mode, you enter commands from the operating system command prompt; you can enter DB2 extender commands as well as DB2 commands and operating system commands.
Do not enter DB2 extender commands from the DB2 command prompt.
To start the db2ext command-line processor in interactive mode, do the
following:
Client | Action |
---|---|
OS/2 | Double-click on the DB2EXT Command Line Processor icon in the DB2 Extenders folder, or enter the DB2EXT command from the OS/2 command prompt. |
AIX, HP-UX, Solaris | Enter the DB2EXT command from the operating system command prompt. |
Windows | Double-click on the DB2EXT Command Line Processor icon in the DB2 Extenders folder, or enter the DB2EXT command from the DB2 command window. |
To end interactive mode, enter the quit or terminate command. The quit command ends interactive mode but maintains the current connection to DB2. The terminate command ends interactive mode and drops the current connection to DB2.
To submit DB2 extender commands in command mode, enter them from the operating system command line. You must precede each DB2 extender command with db2ext, for example:
db2ext enable database for db2image using mydataspace, myindxspace, mylongspace