ORA-36160: (XSMXAGGR04) You cannot use string on scalar VARIABLE workspace object
Cause: The user tried to run the AGGREGATE or AGGCOUNT command or function on a scalar variable
Action: Specify a dimensioned variable instead
https://support.oracle.com/
http://www.oracle.com/