Implementing a relationship

Once you have created a relationship definition within Relationship Designer Express, you are ready to implement the relationship within the map.

Note:
See Creating relationship definitions for instructions about how to create relationship definitions.

To implement a relationship, you use the relationship function blocks in the map's destination object. Table 70 shows the function blocks to use.

Table 70. Relationship function blocks

Kind of relationship Function block For more information
Lookup General/APIs/Relationship/Retrieve Instances
General/APIs/Relationship/Retrieve Participants
"Using lookup relationships"
Simple Identity General/APIs/Identity Relationship/Maintain Simple Identity Relationship
General/APIs/Identity Relationship/Maintain Child
Verb
"Using simple identity relationships"
Composite Identity General/APIs/Identity Relationship/Maintain
Composite Relationship
General/APIs/Identity Relationship/Maintain Child
Verb
General/APIs/Identity Relationship/Update My Children (optional)
"Using composite identity relationships"
Custom General/APIs/Relationship/Create Relationship
General/APIs/Identity Relationship/Add My Children
General/APIs/Relationship/Add Participant

When transforming relationship attributes, a map needs to know the calling context of the map. To determine the calling context, the map needs the following information from the map execution context:

These two factors tell the map what actions need to be taken on the relationship tables.

Copyright IBM Corp. 2003