Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Starting and terminating SM2

Start SM2

The SM2 user program is called with the BS2000 command START-SM2.

Format

START-SM2

VERSION = *STD / <product-version mandatory-man-corr> /

<product-version mandatory-man-without-corr> / <product-version without-man-corr>

,MONJV = *NONE / <filename 1..54 without-gen-vers>

,CPU-LIMIT = *JOB-REST / <integer 1..32767>

Operands

VERSION =
Specifies the version of SM2 to be called.

VERSION = *STD
The current version is called.

VERSION = <product-version>
The specified version is called.

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.

When the SM2 program is started the following messages can be output:

  • BLS0500 PROGRAM 'SM2', VERSION '<version>' OF '<date>' LOADEDThis message is only output if SM2 is started with the
    /START-(EXECUTABLE-)PROGRAM SM2 command. It provides information on the version of the SM2 prephase (loader and starter of the SM2 program).

  • NPSLOAD Program 'SM2', Version '<version>' of '<date>' loaded from file

    ':ZZZZ:$TSOS.SYSLNK.SM2.<ver>.SM2'

    This message provides information on the SM2 program version (nonprivileged SM2 program).

  • NPS0555 VERSION OF SM2 SUBSYSTEM (TPR-PART) IS <version>

    This message provides information on the SM2 subsystem version (privileged SM2 program). This message is only output for privileged SM2 users.

The two last digits for the version in the NPSLOAD and NPS0555 messages indicate the current revision level of the nonprivileged/privileged SM2 program.

Terminate SM2

The SM2 user program 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.

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.