on 07-22-2015 10:38 AM
Hi All ,
I have a scenario , i need to call hdbcons in a xsjs project to run some hdbcons commands . How can i do that ?
My main purpose is to run mm -gc f command through XSJS .
Thanks
Amit
As note 1999997 clearly states, this command (used to manually trigger garbage collection), should be used in exceptional cases only.
Building an application to do just that seems to be the exact opposite approach and I'd say it increases the chances to cover up bugs or problems much longer.
That way these issues won't be solved as quick.
Having said all that, you might consider checking how SAP HANA Studio runs hdbcons commands via JDBC. Maybe this gives you an idea how to run commands pro grammatically
- Lars
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't call a command line tool from XSJS. Instead I would suggest trying to find if there is a View or SQL command that can accomplish the same thing you get via the hdbcons command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.