When you
run the %MM_RunReports() macro, you can either run the report in Test
mode or Production mode, by using the _MM_ReportMode macro variable.
To run
in Test mode, ensure that you make the following assignments:
-
In the DATA step mm_jobs.project,
set the variable testDestination=
reportOutputPath, where
reportOutputPath is
the report output folder on the local computer or network. This is
the location that you defined when you completed the prerequisites
for running batch performance jobs.
-
In the %MM_RunReports() macro,
set the macro variable _MM_ReportMode=TEST.
Test report
output is then written to the local computer or network location.
You can test your %MM_RunReports() macro any number of times without
corrupting the integrity of your model repository. You can delete
the contents of the report output folder and resubmit your macro as
necessary.
To view
the report output, you can copy the files from the report output folder
to any version folder whose
Resources folder
is empty. A best practice would be to create a test version and copy
the files to the test version
Resources folder.
After the files are in the
Resources folder,
you can select the
Performance folder in
the version to view the test output. If you do not create a test version,
ensure that you delete the files from the
Resources folder when you no longer need these files.