User's Manual

U3585-J-Z125-8-76 153
SM2 operation Statements for nonprivileged users
Starting report output
Report output is started with the START or RESTART statement. In the case of the START
statement, new monitoring data is obtained from the central buffer of SM2 and then output.
In the case of the RESTART statement, reports are output with the data of the last START
statement.
SM2 enters the monitoring data in output forms called reports. Their format is fixed and
cannot be modified by the user. By means of statements, the user can specify that the
selected reports are to be output to the terminal, to the high-speed printer or to both
devices.
The reports contain factually related data (see the report types in chapter “SM2 screen
output” on page 201).
Monitoring then proceeds cycle after cycle. The reports are output either automatically or
upon user request.
Input during monitoring
The automatic output mode can be interrupted with the BREAK function (terminal key). To
allow interruption, the time interval between two consecutive reports is at least 2 seconds.
The /INFORM-PROGRAM command permits the user to return from system mode to SM2
program mode. All output statements can be entered as at program start time. Monitoring
is continued in the meantime. The output cycle begins when the START statement is
entered. The data monitored during the last completed monitoring cycle is again output
following the /INFORM-PROGRAM command.
In controlled mode, any output statement can be entered at any time instead of a scroll
statement without monitoring being interrupted. After the START statement, the reports for
the last completed monitoring cycle can be requested.
Relationship between the monitoring cycle and the output cycle
The first monitoring cycle begins when the SM2 monitoring task is initiated. In each cycle,
all of the required data is collected, edited and entered in a central buffer at the end of the
cycle. The SM2 user tasks fetch the output data from this buffer.
The output cycle of an SM2 user task begins when the START statement is entered. The
data collected during the last completed monitoring cycle is then fetched and output.
This means that the first reports can be output at the earliest one monitoring cycle length
after SM2 monitoring task initiation.