Sample procedures

Notes on SM2 operation

6.4 Sample procedures

The following procedures serve as examples for automating frequently recurring operations when the SM2 is used in normal computer center operation. They can also be found in the SYSLIB.SM2.130 library.

The first procedure starts short-term monitoring with output to a separate file, defining and starting monitoring programs.

The second procedure presupposes that the preceding monitoring operation has already been in progress for some time (e.g. 30 minutes). It terminates monitoring and closes the SM2 output file.

The third procedure makes the preparations for analysis with SM2R1 and updates the master output file. In the example it is assumed that the master output file is on disk. If it is on tape, the procedure has to be modified.

Input files

Old master output file and the SM2 output file that was just closed.

Output file

New master output file.

The fourth procedure causes the SM2 output file just closed to be analyzed.

1) Start short-term monitoring (SM2.START.MEASUREMENT)

/BEGIN-PROCEDURE LOGGING=C,PARAMETERS=YES(PROCEDURE-PARAMETERS=(

-

/

&CYCLE=300,&SAMPLE=500,&TSN=‘(BCAM,BCAT)‘,&DEVICE=

-

/‘(F00A,F00B)‘),ESCAPE-CHARACTER=C'&')

/ASSIGN-SYSDTA TO-FILE=*SYSCMD

/REMARK ====================================================

/REMARK *** EXAMPLE 1

 

 

 

***

/REMARK ***

DEFAULT FOR MONITORING CYCLE

=

300

S AND ***

/REMARK ***

FOR SAMPLING CYCLE

=

500

MS

***

/REMARK ====================================================

/REMARK ====================================================

/REMARK *** DEFINE SM2 OUTPUT FILE AND LOAD SM2 ***

/REMARK ====================================================

/DELETE-FILE FILE-NAME=SM2.OUTPUT /SET-JOB-STEP

/CREATE-FILE FILE-NAME=SM2.OUTPUT,SUPPORT=PUBLIC-DISK(SPACE=RELATIVE( -

/PRIMARY-ALLOCATION=200,SECONDARY-ALLOCATION=100))

/ADD-FILE-LINK LINK-NAME=SMLINK,FILE-NAME=SM2.OUTPUT,ACCESS-METHOD=SAM,-

/OPEN-MODE=OUTPUT

352

U3585-J-Z125-8-76

Page 352
Image 352
Siemens SM2 monitoring system, U3585-J-Z125-8-76 1 manual Sample procedures