Professional Documents
Culture Documents
Raul F. Chong
IBM Toronto Laboratory
Agenda
Introduction
Control Center
Command Editor
Command Window / CLP
Task Center
Journal
Health Center
Scripting
2
IBM Software Group | DB2 Information Management Software
Agenda
Introduction
Control Center
Command Editor
Command Window / CLP
Task Center
Journal
Health Center
Scripting
3
IBM Software Group | DB2 Information Management Software
DB2 Commands & SQL/XML,
Xquery Statements DB2 Tools
SQL/XML, Xquery Command Line Tools
DB2: Statements
create bufferpool
Command Editor
Command Line Processor
DB2 Tools
Start Æ Programs Æ IBM DB2 Æ ...
5
IBM Software Group | DB2 Information Management Software
Agenda
Introduction
Control Center
Command Editor
Command Window / CLP
Task Center
Journal
Health Center
Scripting
6
IBM Software Group | DB2 Information Management Software
Control Center
The main DB2 administration tool
7
IBM Software Group | DB2 Information Management Software
8
IBM Software Group | DB2 Information Management Software
9
IBM Software Group | DB2 Information Management Software
Control Center
Object Tree
Pane
Object Listing
Pane
Object Details
Pane
10
IBM Software Group | DB2 Information Management Software
Note the
Additional
Database
Objects
12
IBM Software Group | DB2 Information Management Software
Agenda
Introduction
Control Center
Command Editor
Command Window / CLP
Task Center
Journal
Health Center
Scripting
13
IBM Software Group | DB2 Information Management Software
Command Editor
Using Command Editor, you can execute DB2 commands and SQL, analyze
the execution plan of an SQL statement, and view/update query result sets
You can launch Command Editor several ways:
As a standalone application
Navigate through the Windows Start Menu
– START -> PROGRAMS -> IBM DB2 -> COMMAND LINE TOOLS ->
COMMAND EDITOR
From a command prompt, type db2ce
From the Control Center, click the Command Editor icon on the Control Center
Toolbar
From the Tools menu in Control Center
14
IBM Software Group | DB2 Information Management Software
Add a database
connection
Input area
Database currently
connected to
Output area Character used to
delimit the end of a
SQL statement or
DB2 command
15
IBM Software Group | DB2 Information Management Software
Select a database
configured on the system
Check this box to use
the ID and password
of user currently Valid OS user ID and
logged in to the password
operating system
16
IBM Software Group | DB2 Information Management Software
17
IBM Software Group | DB2 Information Management Software
18
IBM Software Group | DB2 Information Management Software
Sections of the
SQL Query.
The query
constructed so far.
19
IBM Software Group | DB2 Information Management Software
Most of the GUI tools/wizards allow you to see the actual command or
SQL statement that is created as a result of using the tool/wizard to
perform an action
20
IBM Software Group | DB2 Information Management Software
21
IBM Software Group | DB2 Information Management Software
To be continued…
22