The following are possible states of a spool volume:
- ACTIVE
- The
spool volume is in use. Allocation and deallocation of spool space
is permitted. The volume is allocated to all members in the MAS configuration.
- STARTING
- The
spool volume is not yet ACTIVE. It is in the process of MVS™ dynamic
allocation or formatting. During this time, the volume is being dynamically
allocated to each member in the MAS configuration. Allocation or
deallocation of spool space is not permitted.
- DRAINING
- Jobs residing on the volume are selectable. Allocation of new
spool space is not permitted. The volume must be completely empty
before the drain process can complete. When the volume is completely
empty, the volume will be dynamically unallocated on all members in
the MAS configuration. The spool volume then becomes DRAINED.
- DRAINED
- The spool volume is empty and unallocated, that is, no allocated
spool space remains on the volume, and the volume is unallocated on
all members in the MAS configuration. The volume is considered nonexistent
and can not be displayed by JES2.
- HALTING
- The spool volume stops allocation of spool space and does not
select new work. Currently active work (that is, executing, printing,
punching, etc.) is allowed to complete the current phase of processing.
When all currently active work that has space allocated on the volume
completes, the volume will be dynamically unallocated on all members
in the MAS configuration. The spool volume then becomes INACTIVE.
- INACTIVE
- The spool volume may contain allocated spool space but does not
permit further allocation or the processing of currently allocated
spool space. The volume has been unallocated on all members in the
MAS configuration and may be removed by the operator.
The following table summarizes the characteristics of the six status classifications
of spool volumes:
STATUS |
IN USE |
ALLOCATABLE |
SELECTABLE |
---|
STARTING |
NO |
NO |
NO |
ACTIVE |
YES |
YES |
YES |
DRAINING |
YES |
NO |
YES |
DRAINED |
NO |
NO |
NO |
HALTING |
YES |
NO |
NO |
INACTIVE |
NO |
NO |
NO |
- IN USE - Active jobs may be using spool space on the volume.
- ALLOCATABLE - Spool space may be allocated on the volume.
- SELECTABLE - Jobs that have spool space on the volume may be selected
for JES2 processing.
When an INACTIVE volume is not available
to be started again (for example, the volume might be damaged and
cannot be remounted) and the loss of spool space is acceptable, you
must cancel all jobs residing on the volume and subsequently drain
the volume. Because jobs associated with this volume might also have
spool space allocated on other volumes, spool space on other spool
volumes might be lost with all currently defined spool volumes active
(excluding spool volumes that have been drained). JES2 recovers these
lost track groups at the next all-member warm start if you also specify
the SPOOL=VALIDATE start option or automatically within 7 days as
provided by the automatic spool reclamation function, whichever occurs
first. Other JES2 resources, such as job queue elements and job output
elements, will be recovered.
For more information on recovering from a JES2 spool failure see
Recovering from Spool Volume Failure in z/OS JES2 Initialization and Tuning Guide, SA32-0991.