
Version Information Retention and Scratching
Chapter 1. Introduction 1-21
Retention and Scratching
All catalog-controlled datasets must be scratched before tapes and disk space can be reused.
However, BIM-EPIC does not scratch any datasets unless specifically told to do so. This can
be done in four ways.
• Using JCL options (work/non-generation datasets only)
• Defining a dataset as “work” or as a common work dataset (CWDS)
•
Using the Online Manager or TSIDMNT
• Using the SCRATCH function of the TSIDUTL utility
The JCL scratch functions can be used to delete work (non-generation) dataset versions when
they are closed as input or at the end of the job or job step. These versions are scratched
regardless of whether or not the retention criteria have been satisfied.
By design, BIM-EPIC maintains only one version of a work (non-generation) dataset. As
soon as a new version is opened, work dataset scratch processing immediately deletes any
previous disk versions. Any previous tape versions become eligible for scratch.
BIM-EPIC common work datasets (CWDS) are retained only for the duration of a VSE job.
Scratch processing always deletes a CWDS at end of job, whether the job completes normally
or not.
Online Manager and TSIDMNT scratch functions delete only the dataset versions you specify.
Those versions are scratched regardless of whether or not the retention criteria have been
satisfied.
The SCRATCH function of the TSIDUTL program reviews all the datasets in the DSN
Catalog and deletes all versions that are eligible for scratch. A dataset is considered eligible
for scratch when ALL the retention criteria have been satisfied.
You can also preview a scratch run with TSIDUTL’s projected scratch function
(PSCRATCH) which gives you a listing of all tape datasets that are eligible for scratch on a
particular date. Use this report to identify any expired datasets you might want to save, and to
obtain an estimate of the number of scratch tapes you will have available at any point.
Description
Kommentare zu diesen Handbüchern