
Retaining and Scratching Datasets
User Reference
Connectivity Systems, Inc.—Copyright © 2006
Use Pursuant to Company Instructions
1-23
Retaining and Scratching Datasets
Description Versions of catalog-controlled datasets must be scratched before their
tapes and disk space can be reused. Because BIM-EPIC does not scratch
datasets unless specifically instructed to do so, you must provide
BIM-EPIC specific instructions. There are four methods of providing
instructions to BIM-EPIC:
Using JCL options (work/non-generation dataset versions only)
Defining a dataset as “work” or as a common work dataset
(CWDS)
Using Online Manager or TSIDMNT
Using TSIDUTL SCRATCH
The JCL scratch parameters can be used to delete work/non-generation
dataset versions when the versions are closed for 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. When a new version is opened, the previous
disk version is deleted or the previous tape version is set to scratch status.
CWDS are retained only for the duration of a VSE job. CWDS are always
deleted at the end of the job, whether the job ends normally or
abnormally.
Online Manager and TSIDMNT SCRATCH can be used to scratch
versions even if the retention criteria have not been satisfied.
The TSIDUTL SCRATCH function reviews all 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 using the TSIDUTL PSCRATCH
function. This function 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.
Commentaires sur ces manuels