on 01-30-2008 1:45 PM
Hi MaxDB collegues,
does anybody know how one can use
file_operation
in dbmcli so that it actually works?
As of [MaxDB Doku|http://maxdb.sap.com/doc/7_6/24/a967104c2d11d4aa1100a0c9430730/content.htm] it should be as easy as
file_operation BACKHIST OP=SHRINK LINES=10
to chop down the backuphistory to the most recent ten lines.
Unfortunately all I get (on 7.6.03 B15) is:
ERR
-24996,ERR_PARAM: wrong parameters
---
dbmcli on db760>file_operation BACKHIST OP=DELETE
ERR
-24996,ERR_PARAM: wrong parameters
Any idea anybody?
Thanks and KR Lars
Hi Lars,
well, the thing is, the dbm command file_operation is only possible on very specific files (which our documentation doesn't reflect). Those files would be any files starting with atp or lc or any of the dba files in the DBAHIST subdirectory of the Rundirectory.
So it cannot be used for the usual analysis files like knldiag.err, dbm.knl or similar. I agree that the error message delivered by DBM is rather misleading.
Regards,
Roland
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lars,
it seems that there is a small error in your statement.
Please try
file_operation BACKHIST OP=SHRINK LINE=10
The help shows LINE as an option, not LINES.
Good luck
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.