Starting and terminating SM2

SM2 operation

MONJV =

Specifies the name of the job variable to be monitored in the SM2 run. The job variable must already be cataloged.

MONJV = *NONE

No job variable is specified.

MONJV = <filename 1..54 without-gen-vers>

Specifies the name of a job variable already cataloged.

CPU-LIMIT =

Specifies the CPU time required for the SM2 run. In interactive mode, the user is notified by the system if this time is exceeded. In batch mode, the SM2 run is terminated.

CPU-LIMIT = *JOB-REST

There is no limit on the CPU time available to the program.

CPU-LIMIT = <integer 1..32767>

Specifies the CPU time required for the SM2 run.

4.1.2 Terminating the program

SM2 is terminated using the END statement.

The automatic output mode is terminated with the BREAK function. The END statement is entered after returning to program mode (using /INFORM-PROGRAM).

In controlled mode, END can be entered instead of an output control character just like any other output statement.

SM2 acknowledges program termination with the message

SM2 TERMINATED NORMALLY.

Note

Monitored data acquisition is never terminated by the END statement. Termination of the SM2 subsystem is only possible by explicitly issuing the command

/STOP-SUBSYSTEM SUBSYSTEM-NAME=SM2.

58

U3585-J-Z125-8-76

Page 58
Image 58
Siemens SM2 monitoring system, U3585-J-Z125-8-76 1 Terminating the program, Monjv = *NONE, Cpu-Limit = *Job-Rest