I've been having trouble running the MaxL "export database" command with the Java API. I've tried using code like this:( Referred to Essbase Java API Sample com.essbase.test.ExecuteMaxl.java)
IEssMaxlSession test = olapSvr.openMaxlSession("test");
test.execute("export database sample.basic using report_file 'top.rep' to data_file 'c:/topExp.txt'");
It fails with the following exception:
Cannot execute maxl statement. Essbase Error(1290101): This MaxL statement requires client support. This is not supported yet.
I am running Essbase 11.1.2.1 and the same version of the Java API.
Running MaxL commands through the Java API in my experience does not work, giving the error indicated (aka, it potentially relies on some native code like in the C API, but as it says, it's not supported). Why not use the report running command in the Java API?