Who owns a data space?

Although programs create data spaces, they do not own them. When a program creates the space, the system assigns ownership to the TCB that represents the program, or to the TCB of the job step task of the program, if you choose. You can assign ownership of the data space to the job step TCB by specifying the TTOKEN option on the DSPSERV CREATE macro. All storage within a data space is available to programs that run under that TCB and, in some cases, the storage is available to other users. When the TCB terminates, the system deletes any data spaces the TCB owns. If you want the data space to exist after the creating TCB terminates, assign the space to the job step TCB. The job step will continue to be active beyond the termination of the creating TCB.

Because data spaces  belong to TCBs, keep in mind the relationship between the program and the TCB under which it runs.  For example, "a program's data space" means "the data space that belongs to the TCB under which a program is running".

  • 0 用戶發現這個有用
這篇文章有幫助嗎?

相關文章

Can an installation limit the use of data spaces?

The use of data spaces consumes system resources such as expanded and auxiliary storage....

How does a program move data into a data space?

One way to move data into a data space  is through buffers in the program's address space....

How does a program obtain a data space?

Data spaces and hiperspaces are created through the same system service: the DSPSERV macro. On...

What can a program do with a data space?

Programs can use data spaces and hiperspaces to: Obtain more virtual storage than a single...

How does a program manage the storage in a data space?

Managing storage in data spaces differs from managing storage in address spaces. Keep the...