Adding logical relationships
You can add logical relationships to an existing database.
This topic contains examples and procedures for adding a logically-related database to an existing database. Not all situations in which you might need to add a logical relationship are described in this topic. However, if the examples do not fit your specific requirements, you should be able to gather enough information from them to decide:
- If adding a logical relationship to your existing database is possible
- How to add the relationship
The examples show the logical parent as a root segment, although this is not a requirement. The examples are still valid when the logical parent is at a lower level in the hierarchy.
When adding logical relationships to existing databases, you should always make the change on a test database. Thoroughly test the change before implementing it using production databases.
In the following examples, these conventions are used:
- Existing databases are shown using solid lines.
- The database being added is shown using dashed lines.
- The logical parent and logical child relationship is labeled for the database being added. They are labeled LP and LC.
- The terms DBX, DBY, and DBZ refer to database 1, database 2, and database 3.