Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Shared code in common memory pools

A common memory pool is an area in the user storage area (class 6 memory). Shareable objects that are not linked statically when linking the application program can be loaded into a common memory pool. openUTM offers two options for setting up a common memory pool:

  • As a local application pool

    All program units of an application can access this pool. Program units of other applications can also access the pool provided these applications were started under the same BS2000 user ID.

  • As a global application pool

    Program units of several applications can access the same common memory pool, regardless of the user IDs under which these applications were started.

Each common memory pool must be generated with the KDCDEF statement MPOOL. In the MPOOL statement you define whether a common memory pool is to be set up as a global or local application pool.