Oracle Solution for Error ora-36720

Solution for Oracle Error ORA-36720

ORA-36720: (XSALLOC01) To be used with ALLOCATE, your AGGMAP workspace object

must be defined with the ALLOCMAP command.

What triggered the Error:

The user used the AGGMAP command to define the AGGMAP, so either the AGGMAP can only be used with the AGGREGATE command, or the AGGMAP has no contents attached to it.

What should we do to fix it:

Use the ALLOCMAP command to define the AGGMAP.