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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Controlling Generation Data Sets<br />

Generation numbers defined by G#nn are put in the last four bytes of the file<br />

ID within the disk's VTOC. So, do not use positions 41—44 of the file ID when<br />

defining the data set to the Catalog. The generation number, which can range<br />

from 1—99 (with full wraparound), is entered in the following <strong>for</strong>mat:<br />

G#nn<br />

where nn is the generation number<br />

Example,<br />

'PAY.MASTER.FILE.........................G#15'<br />

<strong>CA</strong> <strong>Dynam</strong> 7.1 data sets can also be defined by appending .G#nnnnn to the<br />

end of the data set name by defining the data set with GDGLONG=YES. An<br />

input version from either <strong>for</strong>mat is specified by G#nn within the data set name<br />

on the DLBL.<br />

When <strong>CA</strong> <strong>Dynam</strong>/D is called by the creation program to close the file, it<br />

records this new generation number as the current one. The current<br />

generation number of a file can be identified from the following:<br />

• You can use the DYN<strong>CA</strong>T utility program to display the current generation<br />

number and the maximum number of generations. You can also ALTER the<br />

next generation number to be created.<br />

• You can use the system messages to display current generation<br />

in<strong>for</strong>mation.<br />

• You can use the DYNVTOC utility program to display the current<br />

generation number.<br />

• You can use CUI File Management to display the current generation<br />

number.<br />

Changing Generation Numbers<br />

If it is necessary to change the current generation number to a lower value,<br />

the VTOC entries <strong>for</strong> the already existing files above this number should be<br />

removed from the DASD devices upon which they reside. (For more<br />

in<strong>for</strong>mation about the DYNUTIL DELETE command, see Supporting Disk File<br />

Management.)<br />

In addition, remove their associated version records from the Catalog be<strong>for</strong>e<br />

the generation ID is updated with NEXTGEN.<br />

Chapter 4: Disk File Management 4–21

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

Saved successfully!

Ooh no, something went wrong!