Using data spaces efficiently

Although a task can own many data spaces, it is important that it reference these data spaces carefully. It is much more efficient for the system to reference the same data space ten times than it is to reference each of ten data spaces one time. For example, an application might have a master application region that has many users, each one having a data space. If each program completes its work with one data space before it starts work with another data space, performance is optimized.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Rules for creating, deleting, and managing data spaces

The SCOPE parameter determines what kind of data space a program creates. The three kinds of data...

Releasing data space storage

Your program needs to release storage when it used a data space for one purpose and wants to...

Deleting a data space

When a program does not need the data space any more, it should free the virtual storage and...

Dumping storage in a data space

On the SNAPX macro, use the DSPSTOR parameter to dump storage from any addressable data space...

Manipulating data in a data space

Assembler instructions (such as load, store, add, and move character) manipulate the data in a...