user3124181
user3124181

Reputation: 863

Can you run DB2 commands from a jdbc connection

I cannot install or use a DB2 tool to issue commands to DB2 such as killing long running applications. I can however have a jdbc connection to DB2 to run queries. Is there a way to issue DB2 commands from just a jdbc connection? I’m currently using SQL Workbench for queries but it doesn’t seem to have any place for commands. I also cannot pay for a tool as this goes through the company and they wouldn’t approve.

Upvotes: 0

Views: 283

Answers (1)

MichaelTiefenbacher
MichaelTiefenbacher

Reputation: 4005

You may want to check out the admin_cmd procedure

With this procedure you can run a couple of commands but the options may be limited - so make sure to read the documentation referenced above.

Upvotes: 2

Related Questions