Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

START-MODULE Start external subroutine

&pagelevel(5)&pagelevel

The START-MODULE statement calls an external subroutine using the VMOS linkage. If the subroutine is not yet loaded, DAMP attempts to load it from the SYSLNK.DAMP.<ver> library. The LOAD-MODULE statement must be used to inform DAMP of the location of subroutines from other libraries. If an error occurs in a subroutine, the subroutine is aborted, but not by DAMP.
If the subroutine is in an endless loop, it can be aborted by pressing and then entering the BS2000 command INFORM-PROGRAM MSG='*CANCEL'. DAMP then continues normally. See also the LOAD-MODULE statement on "LOAD-MODULE Load module from library".

Format

START-MODULE

NAME = <name 1..8>

,PARAMETERS = <cmd-rest 0..4096>

Operands

NAME = <name 1..8>
This specifies the name of the external subroutine to be called.

PARAMETERS = <cmd-rest 0..4096>
This defines a character string which is passed unchanged to the subroutine, i.e. the program to be called is passed the address of the string in register R1.

Example

START-MODULE NAME=DCM, PARAMETERS=WHATEVER YOU WANT