space
Previous Page | Next Page

MDDB Report Viewer 9.2

_BUILD_TOTAL_ Method

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

Syntax

 CALL SEND(OBJID,'_BUILD_TOTAL_',application-list,metabase-id,total-variable);
Where... Is Type... And Contains...
application-list N the list ID of the application list. For more information on application lists, see the online Help for SAS/EIS software.
metabase-id N the ID number of the metabase.
total-variable C the variable that is selected from the down or across dimension.

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 will be 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]

Previous Page | Next Page | Top of Page