_BUILD_TOTAL_ Method

Builds the TOTALS sublist on the application list to turn report totals on

Syntax

CALL SEND(OBJID,'_BUILD_TOTAL_',application-list,metabase-id,total-variable);

Required Arguments

application-list
the list ID of the application list. For more information about application lists, see the online Help for SAS/EIS software.
Type:Numeric
metabase-id
the ID number of the metabase.
Type:Numeric
total-variable
the variable that is selected from the down or across dimension.
Type:Character

Example

applist= makelist();
rc=fillist('CATALOG','SASHELP.EISRG.ONEWAY.EIS',applist);
mbid=instance(loadclass('SASHELP.MB.METABASE.CLASS'));
downvar='COUNTRY';
call send(webid,'_BUILD_TOTAL_',applist,mbid,downvar);
The following sublist is added to the application list:
TOTALS: ( DSNAME= 'SASHELP.PRDMDDB'
          MBNAME= 'SASHELP.MBEIS'
          SEL_EXCL= 'CATEGORY'
          MB_AVAIL= 1
          CUSTOM= ( COUNTRY= ( TOTALON= 1
                             LABEL= 'TOTAL'
                             FONT= ()[1095]
                            )[1093]
                   )[1063]
          )[1061]