Running the Report Writer from the Command Line

The are two Report Writer executables: ANALYSISGUI.EXE and ANALYSIS.EXE. ANALYSISGUI.EXE provides the user-interface for editing analysis files. ANALYSIS.EXE is the executable that creates reports and offers a command-line interface. There are two correct forms for Report Writer (ANALYSIS.EXE) command-line syntax: (optional parameters enclosed in [] )

  1. To determine the command-line syntax from the command line:

ANALYSIS.EXE help
  1. To create an analysis report:

ANALYSIS.EXE analysis="x" report="x" [template="x"] [rootfilter="x"] [db="x"] [messagelog="x"]

Analysis is the analysis file, .MFA, that defines the analysis to be run on the database. Report is the output report document. The format of the report—HTML, Word, Excel, or text—is defined by the file extension .HTML, .DOC, .XLS, or .TXT, respectively. The .MFA file includes the last template specified by the Report Writer user interface. If you want to override this selection, use the template argument. Likewise, if you would want to override the specification of the filter of the root section of the analysis, use the rootfilter flag.


© 1996-1997 Microsoft Corporation. All rights reserved.