SM2 operation

SM2 output file

4.6 Writing to the SM2 output file

Introduction

In addition to report output at the terminal and on the printer, consecutive output of monitored data to the SM2 output file is provided for.

At file creation time, a system task is generated for writing to the SM2 output file. This system task terminates when the SM2 output file is closed.

Use of the SM2 output file is recommended

when system utilization is to be monitored for an extended period of time (standard case, trend monitoring)

for bottleneck analysis (peak load analysis) if special monitored data is required in addition to the global system monitored data. The corresponding monitoring programs must be activated for this purpose.

Only the SM2 administrator can create and close the SM2 output file.

The file attributes are preset by SM2, but the SM2 administrator can change the preset default options.

The SM2R1 analysis routine converts the monitored data to bar charts and/or tables with statistical data before output.

The SM2R1 data interface (SM2R1 transfer file) is available to users who wish to analyze monitored data using their own programs. For information on the record structure of this file, see the chapter “SM2R1 analysis routine” in Volume 2 of the SM2 manual [21]).

Attributes of the SM2 output file

The SM2 administrator can choose to create an SM2 output file with the preset file attributes or to open an SM2 output file with freely selected attributes.

SM2 output file with preset file attributes

This file is opened with the statement OPEN-LOG-FILE FILE=*STD. SM2 opens a SAM file in output mode and catalogs it under the name SM2.hostname.yyyy-mm-dd.sss.nn.

Here, hostname indicates the assignment to a host, yyyy.mm.dd is the date on which the file was created, sss is the number of the BS2000 session and nn is the consecutive number of the SM2 output file within that session (counted from 1).

U3585-J-Z125-8-76

195

Page 195
Image 195
Siemens U3585-J-Z125-8-76 1 Writing to the SM2 output file, SM2 output file, Introduction, Attributes of the SM2 output file