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.

SORT Considerations<br />

• Allocates secondary disk space only <strong>for</strong> the last of the SORTWKn files.<br />

• Deletes the SORTWKn files from the VTOC as soon they are no longer<br />

needed.<br />

• Truncates SORTWKn files, if appropriate.<br />

Note: If the facility to build the SORTWKn labels is used, the allocation of<br />

DASD space is calculated either by <strong>CA</strong> SORT (based on in<strong>for</strong>mation you pass in<br />

the SIZE=n parameter) or by <strong>CA</strong> <strong>Dynam</strong>/D (from VTOC in<strong>for</strong>mation collected<br />

from all volumes where the requested SORTINn files reside). Normally, the<br />

in<strong>for</strong>mation passed is correct. But to avoid running out of available extents <strong>for</strong><br />

SORTWKn, generate <strong>CA</strong> <strong>Dynam</strong>/D with Automatic Secondary Allocation.<br />

Thus by using <strong>CA</strong> SORT and <strong>CA</strong> <strong>Dynam</strong>/D, it is not necessary to specify<br />

// ASSGN and<br />

// DLBL SORTWKn statements; the file in<strong>for</strong>mation in the <strong>CA</strong> <strong>Dynam</strong> Catalog<br />

and the VTOC is correct.<br />

IBM Sort/Merge Program<br />

IBM sort files must be assigned to the proper device type be<strong>for</strong>e the SORT is<br />

invoked. Otherwise the sort message UNIT ASSGN ERROR or a channel<br />

program error can appear, and the SORT job will cancel. For example, if the<br />

SORT files are to be read or created on a 3380 disk volume, these files must<br />

be assigned to a 3380 device prior to running the SORT.<br />

IBM Sort Work Files<br />

<strong>CA</strong> <strong>Dynam</strong>/D does not support secondary allocation <strong>for</strong> IBM sort work files.<br />

These files are deleted from the VTOC if all the following conditions are met:<br />

• SORTOUT is closed<br />

• DTFname of the sort work files is SORTWK<br />

• DTFname <strong>for</strong> the sort output is SORTOUT<br />

IBM Sort Output Files<br />

The VTOC and <strong>CA</strong> <strong>Dynam</strong> Catalog are not correctly updated, because there is<br />

no block and record size available <strong>for</strong> the IBM sort output file. This is because<br />

IBM's Sort/Merge defines SORTOUT as a DTFPH file.<br />

Chapter 4: Disk File Management 4–47

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

Saved successfully!

Ooh no, something went wrong!