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.

Extending ISAM Files<br />

Extending ISAM Files<br />

If it is necessary to extend an existing ISAM file defined in the Catalog, you<br />

must specify the option code IE in the file's DLBL statement. This code<br />

indicates to <strong>CA</strong> <strong>Dynam</strong>/D that the ISAM file is to be extended rather than<br />

created. Again, no EXTENT statements are used. For example,<br />

// DLBL FILEA,'ISAM FILE (IE)'<br />

Note: IE should only be used with files defined in the Catalog.<br />

Adding a File to the Catalog<br />

You can catalog any file by specifying the option code C as part of the DLBL<br />

file ID or by executing the DYN<strong>CA</strong>T utility program. For more in<strong>for</strong>mation<br />

about DYN<strong>CA</strong>T, see the chapter "Maintaining the Catalog—DYN<strong>CA</strong>T Program."<br />

The DYN<strong>CA</strong>T program enables you to create an entry in the <strong>CA</strong> <strong>Dynam</strong> Catalog<br />

which records a data file's characteristics and disk space requirements.<br />

Alternatively, you can specify option code C on a DLBL statement, which<br />

automatically creates (or recreates) a catalog entry when the file is closed.<br />

The option code C takes effect only when the data file is being created. The<br />

catalog entry created (at CLOSE) includes in<strong>for</strong>mation such as the disk volume<br />

the file was created on and the number of tracks allocated and used.<br />

Examples<br />

To catalog an SD file:<br />

// JOB GENERATE SD WORK<br />

// DLBL SDDOUT,'DISK.FILE (C,I)'<br />

// EXTENT SYS001,POOL01,1,0,1,19<br />

// EXEC PROGRAM<br />

<strong>CA</strong>DD002I ALLO<strong>CA</strong>TED FILE=SDDOUT SYS001=202 SYSWK1 X=0/159/19<br />

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

Note that the character C enclosed within the parentheses indicates the file is<br />

to be cataloged when the file is closed.<br />

Chapter 4: Disk File Management 4–29

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

Saved successfully!

Ooh no, something went wrong!