do (statement);

Usage

$dbh->do("display user");

Where display user is a valid MaxL statement.

Returns (and sets Essbase{STATUS} to):

$MAXL_STATUS {NOERR} if execution was successful. There are likely to be informational and feedback massages on the message stack, which may be obtained with pop_msg().

$MAXL_STATUS {ERROR} if there was a user error. Error numbers, levels, and texts may be obtained with the pop_msg method.

Note:

There are likely to be informational messages on the message stack even if execution was successful. These also may be obtained using pop_msg.