Characteristics and restrictions of SRB routines

SRB routines run enabled and can be interrupted by an asynchronous interruption. They can be scheduled as preemptable SRBs, allowing higher priority work access to the processor. SRB routines might lose control because of synchronous events that cause suspension of the program in control, such as page faults and unconditional requests for suspend-type locks. In this case, full status of the process is saved and other work is dispatched; the SRB routine is redispatched when the situation is resolved.

An enabled SRB routine can take page faults.

You can use the SUSPEND macro to suspend the execution of an SRB routine until an event occurs. The RESUME macro then causes the SRB routine to resume execution. Serializing SRB processing describes how you use the SUSPEND and RESUME macros.

If an SRB routine requires an Integrated Cryptographic Feature (ICRF) to encrypt or decrypt data, use the following guidelines: