This exit is taken from the $STRAK subroutine when JES2 determines
that the spools allowed mask for the job (IOTSAMSK) needs to be updated.
The spools allowed mask will be updated in two different situations:
- The job is using the maximum number of volumes (CCTFNCNT in HCCT)
and there is no space available for allocation (that is, the volume
is full, the volume is not available for allocation or the volume
does not have affinity for the system) on the spool volumes from which
the job is permitted to allocate space.
- The job is not yet using the maximum number of spool volumes (SPOOLDEF
FENCE=VOLUMES=nnnn) regardless of whether there is space available
on the spool volumes from which the job is permitted to allocate space.
This exit will not be invoked if any of the following are true:
- The job is permitted to allocate space from any spool volume,
that is, the spool partitioning mask (IOTSAMSK) for the job is set
to all ones (X'FF').
- Spool partitioning is in effect, the job is using the maximum
number of spool volumes and space is available on those spool volumes.