Note:You can also use an $AGGMAP property to specify the default aggregation specification for a variable or the $ALLOCMAP property to specify the default allocation specification for a variable.
AGGMAP SET aggmap AS DEFAULT FOR variables
The name of a previously defined aggmap object.
Example 5-3, "Using the $AGGREGATE_FROM Property" illustrates how the AGGREGATE command shown in Example 9-12, "Using a CACHE Statement in an Aggregation Specification" can be simplified to the following statement.
AGGREGATE sales_by_revenue USING revenue_aggmap
You can further simplify the AGGREGATE command if you make
revenue_aggmap the default aggmap for the
sales_by_revenue variable. You can do this either by defining an $AGGMAP property on the
sales_by_revenue variable or by issuing the following statement.
AGGMAP SET revuienue_aggmap AS DEFAULT FOR sales_by_revenue
Now you can aggregate the data by issuing the following AGGREGATE command that does not include a USING clause.