Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

OUTPUT Define output mode

This statement is used to:

  • define the device/file (terminal and/or SYSLST) to which the reports are output, and

  • define the mode of output.

Reports are output either automatically at regular intervals (automatic output mode) or at the request of the user (controlled mode).

Format

Operation

Operands

OUTPUT

 [{ TERMINAL / TER } = { Y[ES] / N[O] }]

 [{ HARDCOPY / HC } = { Y[ES] / N[O] }]

 [{ INTERVAL / INT } = { [number] / C[ONNTROLLED] }]

Operands

TERMINAL


=YES

Directs output of the reports to the terminal.

=NO

Deactivates report output to the terminal.

HARDCOPY


=YES

Directs output of the reports to the system file SYSLST. If SM2 runs in batch mode, the reports are always output to SYSLST.

=NO

Prevents output of the report to the system file SYSLST.

INTERVAL

Specifies the output mode.

=number

Specifies automatic output mode (see "Statements for nonprivileged users").

“number” defines the output cycle during which the reports are to be output at regular intervals.This can be an integer between 10 and 3600 seconds.The INTERVAL=number specification is not mandatory. If it is omitted, SM2 inserts the value for the output cycle by using the value of the online monitoring cycle (default). An exception to this is the first output cycle, in which the reports are output in direct succession. With a normal workload, the system requires approximately one second to output a report. The value for the output cycle should be at least as large as the sum of the output times of the selected reports.

=CONTROLLED

Each report is output only at the request of the user (controlled mode). The reports of the last completely executed cycle are available for output. Each report can be requested using a paging statement (see "Statements for nonprivileged users" ) once SM2 displays the ENTER COMMAND message. In place of the paging statements, any other statement can also be used to request the report. The statement OUTPUT INTERVAL=number can be used to switch to automatic output mode.

Before changing the output cycle, please refer to "Relationship between the monitoring cycle and the output cycle".

Example 1

OUTPUT INT=C

SM2 output is prompted via the terminal. Following every output operation, the user is requested to enter a command. SM2 then executes the statement. The user also has the option of controlling report output.

Example 2

OUTPUT TER=NO,HC=YES

SM2 output is to the SYSLST system file. There is no output to the terminal. Output takes place in automatic mode. The analysis period is equal to the monitoring cycle.