_BUILD_APPLICATION_LIST_ Method
Builds the application list for the data model
Syntax
CALL SEND(OBJID,'_BUILD_APPLICATION_LIST_',
application-list,
metabase-id,
catalog-entry,down-variable,across-variable);
Required Arguments
- application-list
-
the list ID of the
application list.
- metabase-id
-
the ID number of the
metabase.
- catalog-entry
-
the catalog entry of
the Report Gallery template.
- down-variable
-
the variable that is
selected for the down dimension (optional). (This parameter is included
for compatibility with previous releases of this application.)
- across-variable
-
the variable that is
selected for the across dimension (optional). (This parameter is included
for compatibility with previous releases of this application.)
Details
This method
-
copies the Report Gallery Template
application list
-
changes the table name on the application
list to the selected MDDB
-
replaces the metabase name on the
application list with the selected metabase
-
calls _BUILD_DOWNL_LIST to add
the selected down variables to the application list
-
calls _BUILD_ACROSSL_LIST to add
the selected across variables to the application list (if necessary)
-
calls _BUILD_ANALYSIS_LIST to add
the selected analysis variables to the application list
-
calls _BUILD_STATS_LIST to add
the selected statistics to the application list
-
calls _CLEAR_POPUP_ to clear the
unneeded popup_l sublist on the application list
-
calls _BUILD_TOTAL_ to turn report
totals on for the down variables
-
calls _BUILD_TOTAL_ to turn report
totals on for the across variables (if necessary).
For more information
about the structure of application lists, see the online Help for
SAS/EIS software.
Example
applist= makelist();
mbid= instance(loadclass('SASHELP.MB.METABASE.CLASS'));
centry= 'SASHELP.EISRG.ONEWAY.EIS';
downvar= 'Geographic';
rc=insertc(downvars_, downvar, -1);
acrosvar= 'Year';
rc=insertc(acrvars_, acrosvar, -1);
call send(webid,'_BUILD_APPLICATION_LIST_',applist,mbid,centry);