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

Absolute Generation Numbers<br />

Absolute generation numbers are internal numbers recorded in the <strong>CA</strong> <strong>Dynam</strong><br />

Catalog <strong>for</strong> each version. To access a version by its absolute generation<br />

number, include that number as an option in the file ID field of the DLBL<br />

statement. For example, to access version with an absolute version number of<br />

3, specify:<br />

// DLBL FILE,'DISK.FILE(G=3)'<br />

Relative Generation Numbers<br />

The relative generation number refers to a file as it relates to the most current<br />

version, which is designated as G-0. To request a version by its relative<br />

generation number, include that number as an option in the file ID field of the<br />

DLBL statement. The option code <strong>for</strong> the relative generation number ranges<br />

from G-0 to G-98:<br />

G-0 Requests that the current generation be accessed<br />

G-98 Asks <strong>for</strong> the file created 99 generations ago (if it still exists)<br />

If you request the relative version G-2 (2 generations older than the current<br />

one), you will access the Grandfather of the latest version. Specify this option<br />

as follows:<br />

// DLBL FILE,'DISK.FILE(G-2)'<br />

The following examples show the ways of using the generation data set option<br />

to access the same file version. Assuming that six versions of the file exist,<br />

you can access the most current version by specifying the following:<br />

Generational Number Absolute Generation Number Relative Generation Number<br />

// DLBL<br />

DTF,'PAY.MASTER(G#6)'<br />

// DLBL DTF,'PAY.MASTER(G=6)' // DLBL DTF,'PAY.MASTER(G-0)'<br />

Chapter 4: Disk File Management 4–23

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

Saved successfully!

Ooh no, something went wrong!