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.

Releasing Unused Disk Space<br />

Single-Partition Volumes<br />

You can also use the partition ID to uniquely define a volume serial number <strong>for</strong><br />

a particular partition. To do this, supply two hyphens ('--') as the last two<br />

characters of the volume serial number on an EXTENT statement. For<br />

example:<br />

// JOB DEFINE PARTITION INDEPENDENT FILE<br />

// DLBL SDDOUT,'==DISK.FILE(I,M)',2<br />

// EXTENT SYS006,POOL--,1,0,1,8<br />

// EXEC PROGRAM<br />

<strong>CA</strong>DD002I ALLO<strong>CA</strong>TED FILE=SDDOUT SYS006=201 SYSWK1 X=0/3/8<br />

<strong>CA</strong>DD022I RELEASED 7 TRACKS FILE=SDDOUT VOL=SYSWK1<br />

The partition ID substitution will occur be<strong>for</strong>e <strong>CA</strong> <strong>Dynam</strong>/D determines if the<br />

volume serial number corresponds to a COMPOOL volume serial number.<br />

Catalog-Defined Partition and CPU Independent Files<br />

To use partition independence and CPU independence <strong>for</strong> catalog-controlled<br />

data sets, you must first define each of those data sets separately in the<br />

Catalog. Each possible combination must be defined as a unique entry in order<br />

to maintain each file's allocation in<strong>for</strong>mation.<br />

The following example illustrates the DYN<strong>CA</strong>T DEFINE statements required. For<br />

more in<strong>for</strong>mation about the DEFINE command, see the chapter "Maintaining<br />

The Catalog."<br />

// JOB DEFINE<br />

// EXEC DYN<strong>CA</strong>T<br />

DEFINE'BG.CPU-A.IJSY01' DISK ALLOC=(POOL01,TRK,100)<br />

DEFINE'F3.CPU-A.IJSY01' DISK ALLOC=(POOL01,TRK,100)<br />

DEFINE'BG.CPU-B.IJSY01' DISK ALLOC=(POOL01,TRK,100)<br />

DEFINE'F3.CPU-B.IJSY01' DISK ALLOC=(POOL01,TRK,100)<br />

/*<br />

/&<br />

Releasing Unused Disk Space<br />

This feature lets you recover significant amounts of disk space <strong>for</strong> subsequent<br />

use. When a sequential disk (SD) file or an ISAM file is closed, <strong>CA</strong> <strong>Dynam</strong>/D<br />

can truncate (release all unused space) allocated <strong>for</strong> the file. This facility is<br />

standard <strong>for</strong> sequential disk files and is per<strong>for</strong>med upon request <strong>for</strong> ISAM files.<br />

However, only files allocated by <strong>CA</strong> <strong>Dynam</strong>/D are truncated.<br />

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

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

Saved successfully!

Ooh no, something went wrong!