|
- If the FACILITY class is not active, activate it as follows:
SETROPTS CLASSACT(FACILITY)
You
only need to issue this command once. When a general resource class
is active, it remains active until your installation deactivates it.
- To avoid possible deadlocks, issue
a SETROPTS RACLIST command for the FACILITY class.
Example of
a Deadlock:
There are several types of
deadlocks. This example describes one way a deadlock can occur. - Task A of a job is abending.
- z/OS needs
to check the user's authority to produce a dump of the task and issues
RACROUTE REQUEST=AUTH.
- RACF® needs to do I/O to
the RACF database to respond
to the RACROUTE request.
- Task B of the same job is already performing a RACF function and has ENQed the RACF database.
- Task A must wait until task B releases the ENQ.
- Dump processing for task A has set all other tasks in the job
non-dispatchable.
Under normal circumstances, task A could wait for task
B to release the ENQ. However, because dump processing for the abending
task prevents task B from completing, task A cannot proceed. Task
B cannot complete until task A proceeds. This causes a deadlock.
|