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.

Basic Components<br />

Disk Space Availability<br />

<strong>CA</strong> <strong>Dynam</strong>/D allocates disk space <strong>for</strong> files at OPEN time by searching the<br />

specified disk volumes <strong>for</strong> available contiguous space. <strong>CA</strong> <strong>Dynam</strong>/D considers<br />

disk space to be available on a volume when one of the following conditions<br />

prevails:<br />

• Disk space is unused<br />

• Disk space is occupied by a file whose expiration date is less than the<br />

current date<br />

Files with an expiration date equal to the current date (0 retention days) are<br />

considered unexpired by <strong>CA</strong> <strong>Dynam</strong>/D. The disk space occupied by these files<br />

will not be released by <strong>CA</strong> <strong>Dynam</strong>/D until the following day (after midnight of<br />

the day when the file was created).<br />

Note: For FBA allocations, <strong>CA</strong> <strong>Dynam</strong>/D rounds all user allocation requests up<br />

to an even multiple of 8 physical blocks <strong>for</strong> optimum per<strong>for</strong>mance. If, <strong>for</strong><br />

example, 7 blocks are requested either through JCL or the Catalog, 8 blocks<br />

are allocated by <strong>CA</strong> <strong>Dynam</strong>/D.<br />

Secondary Disk Space<br />

Secondary disk space allocation lets you automatically acquire disk space<br />

during program execution whenever the original EXTENT of a sequential disk<br />

(SD) file is filled. This eliminates the problem of allocating a single large,<br />

contiguous area of disk space big enough <strong>for</strong> a maximal amount of data.<br />

This capability is important <strong>for</strong> files which vary in size from one job execution<br />

to another. The allocated disk space can grow according to the file size.<br />

You can define secondary space <strong>for</strong> a file in several ways. Firstly, you can use<br />

Automatic Secondary Allocation. In this way, you define only the size of the<br />

primary allocation. If secondary allocations are required, they are generated<br />

based upon constants defined to the system using the DYNAM/D option record.<br />

Secondly, <strong>for</strong> complete control over all the allocations permitted <strong>for</strong> a file, on a<br />

file-by-file basis, define the following:<br />

• Size of the primary allocation<br />

• Size of the secondary allocation to be used if needed<br />

• Number of desired secondary allocations<br />

These definitions can be specified either with EXTENT statements, or in the<br />

Catalog entry. To use each of the methods, see the examples that follow.<br />

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

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

Saved successfully!

Ooh no, something went wrong!