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)';
©2004 Hyperion Solutions Corporation. All Rights Reserved. http://www.hyperion.com |