Allocation is the process in which z/OS evaluates the device requirements of a job and selects a device that best meets those requirements. In normal allocation processing, z/OS selects only online devices that are not allocated currently and that are suitable for that job.
The z/OS allocation mechanism creates a list of devices that the requesting job may be able to use. This list, known as the eligible device list (EDL), contains the UCB address of every suitable device. An EDL is created for each DD.
The EDL is made up of one or more device groups. For tape allocations, each device group contains a single device. z/OS chooses a device for allocation from the device groups in the EDL.
z/OS serializes the allocation process by allowing only one job to control a device group at a time. This prevents two jobs on the same system from concurrently choosing the same device.
As each DD for a job goes through allocation, z/OS requests the group locks for all the device groups in the EDL for that DD. The job must get control of all the locks for all the groups in the EDL before z/OS allows it to proceed in allocation. If another job already controls that device group, then z/OS makes the requesting job wait for the device group to be released.
Once all the device group locks are obtained for a DD, if a job cannot allocate a suitable online device, then the job enters the z/OS allocation recovery process.
The following steps give an overview of the z/OS allocation process:
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |