This statement must follow the ENDJSAM statement. However,
the order of SETNAME statements in your initialization stream affects
the order that JES3 uses to select devices. For example, if you want
to reserve a group of devices for selection only after all devices
from another group are allocated, order your SETNAME statements as
follows: SETNAME,XTYPE=LARGE,NAMES=(3380,DISK)
SETNAME,XTYPE=SMALL,NAMES=(3380,DISK,XYZ)
In the preceding
example, JES3 will make an initial attempt to allocate devices from
the large group when users specify UNIT=3380 or UNIT=DISK in their
JCL. If no devices are available in the large group, JES3 will attempt
to allocate a device from the small group. Defining SETNAME statements
in this order improves the chances that devices in the small group
will be available when a user specifies UNIT=XYZ.
|