16.10.2015 Views

Getting Started with WebSphere Application Server

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix B – Up and running <strong>with</strong> DB2 225<br />

• Launch other DB2 graphical tools<br />

The pane on the left-hand side provides a visual hierarchy of the database objects on your<br />

system(s), providing a folder for Tables, Views, etc. When you double-click a folder (for<br />

example, the Tables folder, as shown in Figure B.5), the pane on the top right will list all of<br />

the related objects, in this case, all the tables associated <strong>with</strong> the SAMPLE database. If you<br />

select a given table in the top right pane, the bottom right pane provides more specific<br />

information about that table.<br />

Right-clicking on the different folders or objects in the Object tree will bring up menus<br />

applicable to the given folder or object. For example, right-clicking on an instance and<br />

choosing Configure parameters would allow you to view and update the parameters at the<br />

instance level. Similarly, if you right-click on a database and choose Configure parameters,<br />

you would be able to view and update parameters at the database level.<br />

B.4.2 Command Line Tools<br />

There are three types of Command Line tools:<br />

• DB2 Command Window (only on Windows)<br />

• DB2 Command Line Processor (DB2 CLP)<br />

• DB2 Command Editor (GUI-based, and deprecated)<br />

These tools are explained in more detail in the next sections.<br />

B.4.2.1 DB2 Command Window<br />

The DB2 Command Window is only available on Windows operating systems; it is often<br />

confused <strong>with</strong> Windows Command Prompt. Though they look the same, the DB2<br />

Command Window, however, initializes the environment for you to work <strong>with</strong> DB2. To start<br />

this tool, use Start -> Programs -> IBM DB2 -> DB2COPY1 (Default) -> Command Line<br />

Tools -> Command Window or alternatively, type the command db2cmd from a Windows<br />

Command Prompt to launch it on another window. Figure B.5 shows the DB2 Command<br />

Window.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!