Mapping a data-in-virtual object to a data space

Through data-in-virtual, your program can map a data-in-virtual object to a data space. The data-in-virtual object must be a VSAM linear data set. Use DIV macros to set up the relationship between the object and the data space. Setting up the relationship between the object and the data space is called "mapping". In this case, the virtual storage area through which you view the object (called the "window") is in the data space. The STOKEN parameter on the DIV MAP macro identifies the data space.

The task that issues the DIV IDENTIFY owns the pointers and structures associated with the ID that DIV returns. Any program can use DIV IDENTIFY; however, the system checks the authority of programs that try to use subsequent DIV services for the same ID.

  • 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...

Using data spaces efficiently

Although a task can own many data spaces, it is important that it reference these data spaces...

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...