If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Administring Db2 with Java

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-03-04, 07:43
Dave Rush Dave Rush is offline
Registered User
 
Join Date: Jun 2004
Posts: 15
Administring Db2 with Java

Hi,

Is there a way to manage DB2 with a Db2 Java Interface ??
I would like to be able to start, stop db2 and more.

Thanks
Reply With Quote
  #2 (permalink)  
Old 09-03-04, 08:05
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Yes,
It is called the "Control Center" . Obviously if IBM does it, it can be done.

Andy
Reply With Quote
  #3 (permalink)  
Old 09-03-04, 08:29
Dave Rush Dave Rush is offline
Registered User
 
Join Date: Jun 2004
Posts: 15
Cc

Yes but where is the .jar file for that ??
I don't want to use the Control Center, I want to develop spmething in java that call the db2start and all the administration stuff
Reply With Quote
  #4 (permalink)  
Old 09-03-04, 09:27
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
The only thing I can do to help you is to point to sample code by IBM.

http://www.developer.ibm.com/tech/sampdb2.html

Executing DB2 commands in Java cannot be done through JDBC. There is an example on the above link for doing runstats that may be of help.

Andy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On