Search code examples
essbase

Essbase Error 1242021- while executing Maxl to run a report script


I am running a Maxl to export database using report script, below is the Maxl:

spool stdout on to "$4Adhoc.mxl.log";
spool stderr on to "$9Adhoc.mxl.err";

alter system load application $5;
alter application $5 load database $6

export database $5.$6 using report_file "\\scripts\\report\\Adhoc.rep" to data_file "\\abc1234.com\\xyz\\files\\Man7\\Adhoc$11.txt";
logout;
exit;

I keep getting the following error: ERROR - 1242021 - (3) Syntax error near ['export']. Please advise what is missing in this syntax.


Solution

  • You need a semi colon on the preceding line.