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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Defining Minimum Space Allocation<br />

The serial number SYS*** causes <strong>CA</strong> <strong>Dynam</strong>/D to search the disks <strong>for</strong> the first<br />

occurrence of a VOLID beginning with the characters SYS. The first disk found<br />

with 38 contiguous tracks available was SYSWK1 at address 205. Note that the<br />

space was allocated starting at relative track 153. A temporary assignment<br />

was then made <strong>for</strong> logical unit SYS008 to device address 205.<br />

Defining Minimum Space Allocation<br />

The minimum percentage allocation value is used to define the minimum value<br />

<strong>CA</strong> <strong>Dynam</strong>/D will accept in allocating disk space. Your data center defines this<br />

value at <strong>CA</strong> <strong>Dynam</strong>/D installation time (ARFACTR).<br />

This facility offers you great flexibility in allocating disk space because <strong>CA</strong><br />

<strong>Dynam</strong>/D will adapt its space allocation algorithm to the particular disk volume<br />

it is processing. Thus, programmers' jobs are much less likely to be<br />

interrupted because of insufficient disk space.<br />

With minimum percentage space allocation defined, <strong>CA</strong> <strong>Dynam</strong>/D searches the<br />

VTOC once only <strong>for</strong> available disk space; no additional overhead is incurred.<br />

<strong>CA</strong> <strong>Dynam</strong>/D will always attempt to initially allocate the requested number of<br />

tracks. If this allocation request cannot be satisfied, then <strong>CA</strong> <strong>Dynam</strong>/D<br />

continues to search <strong>for</strong> available disk space. This is accomplished by allocating<br />

the largest contiguous free space available that is greater than the minimum<br />

percentage defined in the DYNAM/D option record.<br />

In order to illustrate the processing logic of <strong>CA</strong> <strong>Dynam</strong>/D minimum percentage<br />

allocation, consider the following example. Assume that the minimum<br />

percentage value is 95%.<br />

// USER'S JOB CONTROL FOR THE FILE<br />

// DLBL FILEA,'DISK.FILE'<br />

// EXTENT SYS008,999999,1,0,1,100<br />

At OPEN, <strong>CA</strong> <strong>Dynam</strong>/D initially attempts to allocate 100 tracks on disk volume<br />

999999. If there is not sufficient disk space available, <strong>CA</strong> <strong>Dynam</strong>/D searches<br />

<strong>for</strong> the largest contiguous space which is available. From the example above, if<br />

the largest available space is found to contain more than 95 contiguous tracks<br />

(96—100 tracks), <strong>CA</strong> <strong>Dynam</strong>/D automatically allocates the necessary disk<br />

space, and processing continues.<br />

Otherwise, <strong>CA</strong> <strong>Dynam</strong>/D begins its RECOVERY process, because the minimum<br />

percentage value of 95% has not been reached.<br />

Chapter 4: Disk File Management 4–35

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

Saved successfully!

Ooh no, something went wrong!