Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

LOAD-MODULE Load module from library

&pagelevel(5)&pagelevel

The LOAD-MODULE statement loads a module from a library. In order to do this, it must be possible to call the module via the VMOS linkage. The module can then be executed as often as required using the START-MODULE statement. This means that DAMP users can write their own external procedures and run them under DAMP in the way described.
A module loaded using LOAD-MODULE is only unloaded once DAMP is terminated.LOAD-MODULE can be used within PRODAMP to improve the performance and increase the flexibility of ENTER_MODULE (see "Standard procedures").

Format

LOAD-MODULE

LIBRARY = *STD(...) / *PRODAMP-USER-OBJECT-LIBRARY(...) / *PRODAMP-SYSTEM-LIBRARY(...) /


        <filename 1..54 without-gen-vers>(...)


*STD(...)



|

ELEMENT = <name 1..8>


*PRODAMP-USER-OBJECT-LIBRARY(...)



|

ELEMENT = <name 1..8>


*PRODAMP-SYSTEM-LIBRARY(...)



|

ELEMENT = <name 1..8>


<filename 1..54 without-gen-vers>(...)



|

ELEMENT = <name 1..8>

Operands

LIBRARY = *STD(...) / *PRODAMP-USER-OBJECT-LIBRARY(...) /*PRODAMP-SYSTEM-LIBRARY(...) / <filename 1..54 without-gen-vers>(...)
Specifies the name of the library from which the module is to be loaded.

LIBRARY = *STD(...)
The DAMP module library is assigned.

ELEMENT = <name 1..8>
Name of the module to be loaded.

LIBRARY = *PRODAMP-USER-OBJECT-LIBRARY(...)
The module is loaded from the current user PRODAMP library.

ELEMENT = <name 1..8>
Name of the module to be loaded.

LIBRARY = *PRODAMP-SYSTEM-LIBRARY(...)
The module is loaded from the current system PRODAMP library. For standard installations, this is the library $TSOS.SYSDMP.DAMP.

ELEMENT = <name 1..8>
Name of the module to be loaded.

LIBRARY = <filename 1..54 without-gen-vers>(...)
Name of the library.

ELEMENT = <name 1..8>
Name of the module to be loaded.

Examples

LOAD-MODULE *STD(MYOWNUTI)
LOAD-MODULE ELEM=MYOWNUTI