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.

Basic Components<br />

To request space <strong>for</strong> a file not defined in the Catalog, use an EXTENT Job<br />

Control statement. Indicate in that statement a relative track (or block) value<br />

of 1 or the value specified <strong>for</strong> TRIGGER in the DYNAM/D option record. The<br />

trigger indicates that <strong>CA</strong> <strong>Dynam</strong>/D should allocate the file.<br />

For example,<br />

// JOB SINGLE EXTENT EXAMPLE<br />

// DLBL SDDOUT,'DISK.FILE',2099/360<br />

// EXTENT SYS006,POOL01,1,0,1,8<br />

// EXEC PROGRAM<br />

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

Note: Relative track value = 1 and number of tracks to allocate = 8<br />

<strong>CA</strong> <strong>Dynam</strong>/D does not allocate any EXTENT not defined with the TRIGGER<br />

value from the DYNAM/D option record. Instead, the requested EXTENT is<br />

passed directly to the standard operating system OPEN routine.<br />

A Job Control exit is provided with <strong>CA</strong> <strong>Dynam</strong>/D. This exit will automatically<br />

change the EXTENT statements in any supplied Job Control stream to <strong>for</strong>ce<br />

dynamic allocation.<br />

For a file defined in the <strong>CA</strong> <strong>Dynam</strong> Catalog File, the EXTENT statement is<br />

omitted; space is allocated based on the specification in the Catalog entry <strong>for</strong><br />

that file.<br />

For example,<br />

// JOB GENERATE FILE FROM <strong>CA</strong>TALOG<br />

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

// EXEC PROGRAM<br />

<strong>CA</strong>DD002I ALLO<strong>CA</strong>TED FILE=SDDOUT SYS001=202 DOSVS2 X=0/6/8<br />

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

Note that the disk file can be defined in the Catalog with a specific number of<br />

tracks (CKD devices), blocks (FBA devices), cylinders, or records (logical<br />

allocation).<br />

If a number of records is defined, <strong>CA</strong> <strong>Dynam</strong>/D will calculate the correct<br />

number of tracks or blocks <strong>for</strong> the allocation based upon the blocking factor in<br />

use and the device type.<br />

If a number of cylinders is defined, <strong>CA</strong> <strong>Dynam</strong>/D will allocate the requested<br />

number of cylinders or cylinder equivalents on the allocated device type.<br />

Chapter 4: Disk File Management 4–3

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

Saved successfully!

Ooh no, something went wrong!