Previous Topic: Record ModificationsNext Topic: Deleting Schema Records


Adding Schema Records

What components are affected

Adding schema records affects the schema.

Steps to add a record

  1. Add the record using DDDL statements
  2. Modify the schema
  3. Add the record to the schema using SHARE STRUCTURE
  4. Validate the schema
  5. Modify any subschemas that should contain the new record
  6. Add the new record to each subschema
  7. Regenerate the subschemas

Considerations

If the record participates in a set with existing records, you must use the RESTRUCTURE utility statement to add pointer positions to the existing records. You must also write a program that connects the records into proper set occurrences.

Note: For more information about adding a set to a schema, see the section "Adding or Deleting a Set".