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 />

Deleting Sort Key Records<br />

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

The <strong>for</strong>mat of the command is shown below.<br />

DELETE SKNAME='skname'<br />

SKNAME=<br />

Optional parameter. Indicates that the named sort key record is to be deleted.<br />

A valid entry is 1- to 8-character sort key name enclosed in apostrophes.<br />

Deleting Volume Records<br />

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

The <strong>for</strong>mat of the command is shown below.<br />

DELETE VOLser=xxxxxx [EXTERNAL= {NO|YES }]<br />

VOLser=<br />

EXTERNAL=<br />

Required parameter, mutually exclusive with 'data set name'. Specifies the<br />

volume serial number record to be completely deleted from the Catalog <strong>for</strong> a<br />

tape volume currently in SCRATCH status. A valid entry is a 1- to 6-character<br />

volume serial number.<br />

Optional parameter. Indicates whether volume is externally owned; that is,<br />

whether it is owned by another system. If you want to delete an externally<br />

owned volume, you must specify EXTERNAL=YES.<br />

The default is EXTERNAL=NO.<br />

In<strong>for</strong>mation that an external volume is being deleted is not passed to the<br />

external system. It is the responsibility of the owning system to maintain its<br />

own volumes. However, in<strong>for</strong>mation about <strong>CA</strong> <strong>Dynam</strong>/<strong>VSE</strong>-owned volumes is<br />

passed to the other system.<br />

Example<br />

An example follows:<br />

// JOB DELETE FROM THE <strong>CA</strong> <strong>Dynam</strong> <strong>CA</strong>TALOG<br />

// EXEC DYN<strong>CA</strong>T,SIZE=128K<br />

DELETE 'OLD TRANS' VER=3 <br />

DELETE 'SORTED AR' VOLSER=1766 <br />

DELETE VOLSER=1766 <br />

DELETE 'TEST FILE' ALL <br />

DELETE VOLSER=333333 EXTERNAL=YES <br />

/*<br />

/&<br />

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

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

Saved successfully!

Ooh no, something went wrong!