
SCRATCH Command
3-48 User Reference
Connectivity Systems, Inc.—Copyright © 2006
Use Pursuant to Company Instructions
SCRATCH Command
Description SCRATCH scratches a version of a dataset. The version must be in active
status to be scratched. If the version is in open status or conditionally
cataloged status, use CLOSE to make the version active.
If an Automated Cartridge Library (ACL) is supported, SCRATCH sets
the tape volume to scratch status in the ACL inventory.
In BIM-EPIC, you can use SCRATCH in a job stream to scratch disk
datasets without supplying the dataset password. As long as the current
job name and partition are the same as the creating job name and
partition, BIM-EPIC disregards password protection.
!
WARNING:
You must not scratch encrypted dataset versions. If an encrypted
dataset version is scratched, the version cannot be decoded and is
unreadable even it is retained prior to reuse.
Syntax The following provides an example of the SCRATCH command syntax.
SCRATCH 'dataset-name' {,VER=n|,SER=volser|,GEN=n} [FOR]
Parameters The following provides a description of the parameters you can use with
SCRATCH.
Definitions The following provides definitions for the parameters you can use with
SCRATCH.
Parameter Required? Valid Entry Default
dataset-name Yes 1 to 44 characters None
Specify one of the following (required):
VER No 1 to 999 None
SER No 1 to 6 characters None
GEN No 1 to 999999 None
Specify the following optional parameter only if the disk volume on
which a dataset resides is no longer available:
FOR No None N/A
Parameter Definition
dataset-name Specifies the dataset name.
VER Specifies the version number.
SER Specifies the volume serial number of the first
volume of a tape version.
Kommentare zu diesen Handbüchern