Report
General Action Statement
The Report statement calculates and reports the current statistics to the output database. This is useful to get a snapshot of the model while it is running.
Syntax
Report {With Reset} {As <string expression>}
Examples
Report
Report With Reset
If thruput = 50 Then
{
Report As "RepOvr50"
}
Parameters
{With Reset)
The Report statement may be followed by the With Reset option to reset the statistics after the report is made to the database. When you use the With Reset option, you generally want to provide some looping or event creation to call the report function at the appropriate time.
<string expression>
Used with the As option, Report creates a report with the name specified in the expression that can be accessed in the Output Program when creating a General Stats report. The string expression field in the As option is a unique name given to the report so it can be easily identified in the Output Program General Stats dialog. If any reports have the same name, a number is tacked on the end of the name to make it unique.
Remarks
If you use the Report statement even once, a final overall report is NOT created since the report generated with your use of the statement may be the final report desired. In this case, you must use the Report statement at the end of termination logic in order to create a final report if desired. If a Report statement is never used, a final overall report is created automatically.