On OS/2, Windows 95 and Windows NT operating systems, the Command Center provides an interactive window that allows you to:
To invoke the Command Center on OS/2 operating systems:
To invoke the Command Center on Windows 95 and Windows NT:
The Command Center contains a large input area in which you type your commands. To start a command on a new line use the Enter key. To run the commands you have entered, select the Start or stop execution icon from the menu bar, or use CTRL+Enter.
Do not type the commands with a db2 prefix; instead, enter the command as follows:
list node directory;
If you want to run multiple commands, you must end each command with a semicolon, then press Enter to start the next command on a new line.
Note: | The semicolon is optional at the end of a single quick command, and at the end of the final command in a series. |
After you run a command, the Command Center displays the Results window, which informs you how the commands are proceeding.
To recall commands that you have typed in interactive mode, click on the
arrow beside the narrow input window. To save commands entered in
interactive mode as scripts, select Script->Save as from
the menu bar.
![]() |
If you want to store commonly used SQL statements or DB2 commands as
scripts, select the Script icon from the main tool bar.
|