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 />

Truncating Files<br />

SD Files<br />

For SD data files, <strong>CA</strong> <strong>Dynam</strong>/D per<strong>for</strong>ms truncation automatically by default.<br />

You can suppress truncation by overriding the default <strong>for</strong> a given SD file.<br />

Simply specify option code N <strong>for</strong> No truncate in the DLBL statement, as<br />

follows:<br />

// JOB DYNAM SD FILE<br />

// DLBL SYMBOL,'DISK.FILE(N)',10,SD<br />

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

// EXEC PROGRAM<br />

<strong>CA</strong>DD002I ALLO<strong>CA</strong>TED FILE=SYMBOL SYS008=203 SYSWK1 X=0/19/100<br />

In this example, the file is not truncated in EXTENT size to the amount of disk<br />

storage actually utilized. The corresponding VTOC entry <strong>for</strong> this file remains<br />

unmodified.<br />

ISAM Files<br />

For ISAM files, you can truncate the specified prime EXTENT by specifying<br />

option code T in the DLBL statement.<br />

Sequential Work Files<br />

To per<strong>for</strong>m truncation on sequential work files, you must specify option T on<br />

the DLBL statement.<br />

FBA DASD Files<br />

Truncation will take place on FBA DASD in even multiples of 8 physical blocks<br />

(512 bytes each physical block).<br />

For example, if a file were to be created with an allocation of 160 blocks, and<br />

only 147 blocks were used, the file would be truncated to block 152 rather<br />

than 147. This restriction allows <strong>CA</strong> <strong>Dynam</strong>/D to control allocations on these<br />

volumes with a bit map, greatly reducing system overhead.<br />

CKD DASD Files<br />

Truncation on CKD DASD will take place to the track following the last record<br />

of EOF.<br />

Chapter 4: Disk File Management 4–41

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

Saved successfully!

Ooh no, something went wrong!