Run unit

A run unit is a set of programs that are related by local calls or (in some cases) by transfers. Each run unit has these characteristics:

The Java run unit is composed of programs that run in a single thread. A new run unit can start with a main program, as when the user invokes the program. A transfer statement also invokes a main program but continues the same run unit.

In the following cases, a called program is the initial program of a run unit:

All programs in a Java run unit are affected by the same Java run-time properties.

Related concepts
Java run-time properties
Linkage options part

Related reference
Default database

sysLib.connect
sysLib.connectionService