Previous Topic: Area ModificationsNext Topic: Changing Area Characteristics


Adding or Deleting an Area

What Components are Affected

Adding or deleting an area in the schema affects the schema and subschemas referencing the area to be deleted, segments describing related physical databases, and DMCLs in which those segments are included.

Steps to add an area

  1. Modify the schema
  2. Add the new area
  3. Define one or more records or system-owned indexes associated with the area
  4. Validate the schema
  5. Add the new area to one or more subschemas
  6. Format the new area using the FILE option of the FORMAT utility statement

Steps to delete an area

  1. Modify the schema
  2. Modify existing records mapping to the area to be deleted so that they map to a different area
  3. Delete the area
  4. Validate the schema
  5. Regenerate any affected subschemas

Considerations