

Modifying Physical Database Definitions › Adding or Dropping Files Associated With an Area
Adding or Dropping Files Associated With an Area
Types of Changes
The pages of an area can be mapped to different files provided that all the pages are accounted for. For example, two files can be combined into one file or one file can be separated into multiple files.
Steps
To add or remove files from an area, follow these steps:
- Define the new files.
- Change the definition of the area by excluding all files associated with the area and re-assigning the pages of the area to file blocks.
- Drop all unused files.
- Generate, punch and link all DMCLs that contain the segment with which the area is associated.
- Allocate and format new database files.
- Make the area to be processed unavailable for update under the central version. (If re-using some of the existing files, take the area offline to the central version.)
- Backup the area using the AREA option of the BACKUP utility statement and the old DMCL.
- Restore the area using the AREA option of the RESTORE utility statement and the new DMCL.
- Make the DMCLs and the new files available to the runtime environment.
Copyright © 2014 CA.
All rights reserved.
 
|
|