Oracle Error ORA-36154: (XSMXAGGR01) workspace object is not a data variable.

Oracle Error Message

ORA-36154: (XSMXAGGR01) workspace object is not a data variable.

Reason for the Error

An object was specified on the Aggregate command line that was not a variable

Solution

Specify a variable instead