The @@S statement is a variable representing all input arguments for a macro.
@@S
The following example shows a macro that divides the sum of all arguments by the sum of the first two arguments.
create macro Sample.'@DIVIDE'(single, single, optional_group) as '@SUM(@@S)/(@@1 + @@2)';
Copyright 1991-2002 Hyperion Solutions Corporation. All rights reserved.