IBM GC09-2830-00 Start the Command Center in one of the follows ways, On Windows 9x or Windows NT

Models: GC09-2830-00

1 196
Download 196 pages 29.94 Kb
Page 147
Image 147
Start the Command Center in one of the follows ways:

vDisplay all the command scripts known to the system through the Script Center, with summary information listed for each.

Start the Command Center in one of the follows ways:

vClick on the Command Center icon in the Control Center.

vEnter the db2cctr command.

vLaunch the Command Center from the toolbar as follows:

On Windows 9x or Windows NT

±Click on the Start button and select Programs->DB2 for Windows->Command Center.

On OS/2

±Click on the OS/2 Warp button and select DB2 for OS/2 ±>Command Center.

The Command Center contains a large input area in which you enter your commands. To run the commands you have entered, click on the Execution icon (the gears icon), or press CTRL+Enter.

In the Command Center, you do not have to enter a command with the db2 pre®x; instead you just enter the DB2 command. For example:

list database directory

To enter operating system commands, precede the operating-system command with an exclamation mark (!). For example:

!dir

If you want to enter multiple commands, you must end each command with the termination character, then press then Enter key to start the next command on a new line. The default termination character is a semicolon (;). To specify a different termination character, click on the Tools Settings icon in the menu toolbar.

For example, you could connect to a database called SAMPLE and list all the system tables by entering the following command:

connect to sample; list tables for system

After you have clicked on the Execution icon (or pressed CTRL+Enter), the Command Center switches to the Results window which informs you how the commands are proceeding.

To recall commands that you have entered, select the Script Tab, click on the drop down box, and select a command.

Appendix A. Basic Task Knowledge 135

Page 147
Image 147
IBM GC09-2830-00 manual Start the Command Center in one of the follows ways, On Windows 9x or Windows NT, On OS/2