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.

Deleting Files<br />

DA Files<br />

No truncation is per<strong>for</strong>med on DA files because no EOF record is written.<br />

Deleting Files<br />

This section describes how to delete data and work files.<br />

Deleting Data Files<br />

You can specify in the JCL that a sequential disk (SD), direct access (DA) or<br />

ISAM file is to be deleted when closed. The JCL entry overrides the default<br />

option (no deletion). To request deletion, specify either of these DLBL option<br />

codes:<br />

Option code D<br />

Option code X<br />

DELETE at input CLOSE<br />

DELETE at input or output CLOSE<br />

When deleting a file, the VTOC entry <strong>for</strong> that file is deleted—not the actual<br />

data on the disk.<br />

Deleting Work Files<br />

A special case is encountered <strong>for</strong> IBM SORT work files. The IBM Sort/Merge<br />

program does not close the SORTWK files. There<strong>for</strong>e, <strong>CA</strong> <strong>Dynam</strong>/D will only<br />

analyze the DLBL statements <strong>for</strong> the SORT work files when a SORTOUT<br />

file name is closed. <strong>CA</strong> <strong>Dynam</strong>/D will then assume the D (delete) option.<br />

If you do not specify the file name SORTOUT <strong>for</strong> the file used as the sort<br />

output, you should include the option code W <strong>for</strong> that file; otherwise, the<br />

SORTWK files will not be deleted. When a sort output file defined with option<br />

code W is closed, <strong>CA</strong> <strong>Dynam</strong>/D will delete the SORTWK files used during the<br />

job.<br />

<strong>CA</strong> SORT Work Files<br />

Sort work files used <strong>for</strong> <strong>CA</strong> SORT are always deleted if no longer needed.<br />

4–42 <strong>User</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!