Automating Report Generation

MOM Reporting provides a command-line interface. This interface allows you to automate the report generation process. For example, you can create a batch file that contains the commands to generate the reports you want. Then, you can use the Windows Task Scheduler, as explained in Scheduling Report Generation, to run that batch file at scheduled times.

MOM Reporting also provides a wizard that allows you to create a batch file with a command to generate specific reports. You can use the wizard to create the batch file and see what options are required to generate a specific report. You can also run the wizard several times, saving each command to a separate batch file, and then combine the commands into one batch file.

To generate multiple reports from a batch file, prefix each command in the file with the START/WAIT command. For more information about the START /WAIT command, see the MS-DOS help.

To automate report generation:

  1. Set the options for saving HTML reports to identify the correct location to save the generated reports.
  2. Create a batch file with the commands to generate the reports you want. For more information, see:
  3. Use Windows Task Scheduler, as explained in Scheduling Report Generation,to run the batch file at scheduled times.