16.10.2015 Views

Getting Started with Open Source Development

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

120 <strong>Getting</strong> started <strong>with</strong> open source development<br />

For Linux, the equivalent of the DB2 Command Window is simply the Linux shell (or<br />

terminal) where the DB2 environment has been set up by executing the db2profile file.<br />

This file is created by default and added to the .login file for the DB2 instance owner. By<br />

default the DB2 instance owner is db2inst1.<br />

B.4.2.2 DB2 Command Line Processor<br />

The DB2 Command Line Processor (CLP) is the same as the DB2 Command Window, <strong>with</strong><br />

one exception that the prompt is db2=> rather than an operating system prompt. To start<br />

the DB2 Command Line Processor on Windows, use Start -> Programs -> IBM DB2 -><br />

DB2COPY1 (Default) -> Command Line Tools -> Command Line Processor or alternatively<br />

from a DB2 Command Window or Linux shell type db2 and press Enter. The prompt will<br />

change to db2 as shown in Figure B.6.<br />

Figure B.6 - The DB2 Command Line Processor (CLP)<br />

Note that Figure B.6 also illustrates that when working in the CLP, you do not need to<br />

prefix commands <strong>with</strong> DB2. To exit from the CLP, type quit.<br />

B.4.2.3 DB2 Command Editor<br />

The DB2 Command Editor is the GUI version of the DB2 Command Window or DB2<br />

Command Line Processor as shown in Figure B.7. This tool is deprecated for DB2 version<br />

9.7.

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

Saved successfully!

Ooh no, something went wrong!