ENDOFDATASET and ENDOFVOLUME: Specifying when volume processing should stop

Explanation: ENDOFDATASET and ENDOFVOLUME are optional parameters specifying when to stop volume processing of one of the following:
Note: This description does not apply to aggregate group processing or fast replication backup or recovery processing. See ENDOFDATASET: Specifying when aggregate group processing should stop for information on holding aggregate group processing. See FRBACKUP: Preventing fast replication backup or dump processing and FRRECOV: Preventing fast replication recovery processing for information on holding fast replication backup or recovery processing.

ENDOFDATASET specifies that currently processing volume tasks stop after the current data set finishes processing. In the case of DUMP, FRBACKUP DUMP, FRBACKUP DUMPONLY, FRRECOV, or FRRECOV(TAPE), the current dump copies being written by each dump task are discarded; if any dump task is stacking output, any dump copies successfully completed by that task are preserved.

ENDOFVOLUME specifies that volume tasks stop after the current user volume finishes processing. In the case of DUMP , FRBACKUP DUMP, or FRBACKUP DUMPONLY, the current dump copies being written by each dump task are allowed to complete; if any dump task is stacking output, no further dump copies are stacked or processed.

When the level functions are running at the time a HOLD EOV command is issued, the command is interpreted to mean that the particular function runs to completion before the stop occurs. Example: If a HOLD EOV is entered while the movement of backup versions is running, the movement of the backup versions is allowed to complete all of its requests but the backup of migrated data sets does not start. In other words, HOLD EOV means stop processing a specific function at the end of a volume, or at the end of the movement of backup versions from a migration volume to a daily backup volume, or at the end of the movement of backup versions from one volume to another volume.

Either parameter prevents processing another user volume.

Defaults: If neither ENDOFDATASET nor ENDOFVOLUME is specified, the default is ENDOFDATASET. If the function being held is DUMP, FRBACKUP DUMP, or FRBACKUP DUMPONLY, the default is ENDOFVOLUME.

Note: If you hold dump processing with the ENDOFDATASET parameter while DFSMShsm is automatically deleting expired dump copies or deleting excess dump VTOC copy data sets, processing is ended after DFSMShsm finishes processing the current dump generation.