[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 536
  • Last Modified:

How to call CLP command likes "runstats on table..." in Java SP

I want to call CLP command like "runstats on table..."  in JavaSP.
When I use sqlj to run this statement,the error occur.
How can I do it.

0
zhuxdsh
Asked:
zhuxdsh
1 Solution
 
mglxxxCommented:
You can't (at least not without resorting to JNI).
Runstats is part of the admin API.
AFAIK there is no Java binding for
that API.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now