Solved

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

Posted on 2002-07-15
3
503 Views
Last Modified: 2012-05-04
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
Comment
Question by:zhuxdsh
3 Comments
 
LVL 9

Accepted Solution

by:
mglxxx earned 200 total points
ID: 7266744
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question