6. Database Tailoring and Retrofitting Techniques › 6.2 Tailoring the Database › 6.2.2 Tailoring Database Files › 6.2.2.2 Add File in a Timespan
6.2.2.2 Add File in a Timespan
To add a file to a timespan, do the following:
- Review the key structure of the file in the component's
sharedprefix.MICS.GENLIB member to insure that
enabling the file in the timespan will produce a
properly-keyed file.
- Change the FILE statement in the component definition
in the component's sharedprefix.MICS.GENLIB member
to reflect the fact. The "N" in that timespan's
position must be changed to a "Y".
- Run the cccCGEN to regenerate the component from the
modified component generator statements. This job
will change the component's executable code in the
sharedprefix.MICS.SOURCE library, and all database
units in which the component is installed will be
affected.
- Run the COPYLIBU job for each unit that the component
is installed in.
- Verify that the number of cycles to be retained in each
FILE statement in prefix.MICS.PARMS(DBMODEL) suits your
installation's standards.
- Run the CYCLEGEN job for all database units in which
the component is installed. This will generate aging
statements that reflect the new file configuration.