03.03.2015 Views

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DYN<strong>CA</strong>T Commands<br />

DELETE Command<br />

Use the DELETE command to remove records from the Catalog. The following<br />

types of records may be removed, each type achieving different results:<br />

• entire datasets<br />

• one or more versions of a dataset<br />

• sort key records<br />

• volume serial numbers.<br />

Deleting a version of a dataset will result in all of its associated tape volumes<br />

being returned to SCRATCH status.<br />

You can control the scope of record deletion by using one of the following<br />

positional operands:<br />

To Delete Entries For Use Command Required Operand<br />

one or all versions of a dataset DELETE 'data set name'<br />

A sort key name DELETE SKNAME='skname'<br />

A volume DELETE VOLser=xxxxxx<br />

Deleting Dataset Records<br />

To delete dataset records, provide the following in<strong>for</strong>mation:<br />

DELETE 'data set name' {ALL|GDSid=nnnnn|VERsion=nnn|VOLser=xxxxxx }<br />

[PASSword='password'] [PURGE]<br />

[PERmvlt= {YES|NO } ]<br />

'data set name'<br />

Required positional parameter. Specifies the data set name or dataset version<br />

that is to be deleted. A valid entry is 1 to 44 characters enclosed in<br />

apostrophes.<br />

ALL, GDSid=, VERsion=, VOLser=<br />

The following parameters are mutually exclusive.<br />

Choose one. Each parameter is explained next.<br />

ALL<br />

Used to delete an entire dataset from the Catalog and<br />

return all associated tape volumes to SCRATCH status.<br />

Existing disk generations will not be affected; that is, no<br />

VTOC entries will be removed, but the dataset will no<br />

longer exist in the <strong>CA</strong> <strong>Dynam</strong> Catalog.<br />

Chapter 8: Maintaining the Catalog−DYN<strong>CA</strong>T Program 8–63

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!