To allow a job or transaction program to allocate spool space from
another spool volume:
- Modifying a 32-byte work area passed in register 1. Each bit in
the IOTSAMSK corresponds to a spool volume defined
to your installation and represents an entry in the direct access
spool data set DSECT ($DAS). When a bit in the work area is set to:
- 0
- It indicates the spool volume is not currently available to
the job and is a candidate for use by Exit 11.
- 1
- It indicates the spool volume is already allocated to the job.
You
must implement Exit 11 so that
it sets at least one additional bit in the work area to allow the
job to allocate spool space from at least one additional spool volume.
If Exit 11 does not make at least one spool volume available, JES2
will allocate spool space by either:
- Resetting all the bits to ones to allow the job to obtain spool
space from any spool volume defined to the system.
- Resetting a single bit as indicated by the FENCE=ACTIVE=YES parameter
on the SPOOLDEF initialization statement.
- Place a X'08' in register 15 and return to JES2.
If your routine
passes a return code of 8 to JES2 but hasn't actually expanded the
mask through the new mask returned in the spool mask work area, JES2
sets the spool partitioning mask as indicated by the FENCE= parameter
on the SPOOLDEF initialization statement and to reissue the $TRACK
request.