z/OS MVS Programming: Workload Management Services
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


SRBs in Enclaves

z/OS MVS Programming: Workload Management Services
SC34-2663-00

SRBs in Enclaves

Enclave SRBs offer advantages over local and global SRBs in that they are preemptable, and can be run at a lower major dispatching priority than tasks in the same address space.

SRBs in enclaves work well for transactions having short durations, not issuing supervisor calls, and not otherwise requiring a task environment. SRBs have very little startup overhead compared to tasks. The subsystem can create an enclave using the IWM4ECRE macro, and then schedule SRBs to run in the enclave using the IEAMSCHD macro.

The SYSEVENT ENCASSOC macro is used to indicate that an enclave and an address space are related for storage management purposes. The ENCASSOC sysevent is necessary only when SRBs are used. A task that joins an enclave automatically associates the home address space with the enclave.

Note:
It is not required to use SYSEVENT ENCASSOC when you run SRBs in enclaves. It is an improvement for storage management but it is not recommended when the address space into which the SRB is scheduled runs other significant work because the association may change the goal management for the target address space.

For more information about the SYSEVENT macro, see z/OS MVS Programming: Authorized Assembler Services Reference SET-WTO.

For more information about SRBs and how to use them, see z/OS MVS Programming: Authorized Assembler Services Guide.

For more information about the IEAMSCHD macro, see z/OS MVS Programming: Authorized Assembler Services Reference EDT-IXG.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014