Previous Topic: Set ModificationsNext Topic: Changing Set Mode


Adding or Deleting a Set

What components are affected

The schema set definition and data are affected. Segments and DMCLs may also be affected if a set is indexes and a symbolic index specification needs to be added, removed, or replaced in the physical definition. Subschemas and access modules that reference either the owner or member of the set are also affected.

Steps to add or delete a set

To add or delete a set when data has been loaded:

  1. Create a new schema based on the original schema but containing the new set or omitting the deleted set
  2. Validate the schema
  3. Create a global subschema for the new schema
  4. Use the schema compare utility (IDMSRSTC) to generate the IDMSRSTT macro statements
  5. Restructure the database using the RESTRUCTURE utility statement
  6. If adding a set, write a program to connect member record occurrences to the appropriate owner occurrences.
  7. Complete the change by updating the original schema, regenerating affected subschemas, and altering affected access modules.

Considerations