Previous Topic: Add OccurrencesNext Topic: With Ordered Relationships


With Relationships

If you are adding an occurrence that has a required relationship, CA Datacom Datadictionary presents the Relationship Maintenance Procedure panel before displaying the Attribute Maintenance panel.

=> => => ----------------------------------------------------------------------------- DDOL: Relationship Maintenance Procedure T08F 1. Select function: _ A - Add X - exit from relationship maintenance 2. Describe relationship: Relationship Name: JOB-JOB-REQUIRES relates this occurrence.... Type: JOB Parent: ________________________________ Name: LEDGER Status: TEST Version 001 ...to this occurrence: Type: _______________________________ Parent: ________________________________ Name: _______________________________ Status/Version: ____ ...with this intersection data: ________________________________________________________________________ 3. Issue 'APPLY' command or press PFKEY 9 to process. PF1=HELP PF2=END PF3=CLARIFY PF4=PROCESS PF5=MENU PF6=STATUS PF7=SCB PF8=SCF PF9=APPLY PF10=PATH PF11=NEXT PF12=INPUT

Complete entries on this panel according to the following descriptions:

Select function:

Specify one of the entries listed to the right of the panel.

Valid Entries:

A (Add)

X (exit from relationship maintenance)

Default Value:

(No default)

Type:

Specify the entity-type of the occurrence to which you are adding the relationship with the anchored occurrence. You cannot use abbreviations in this field.

Valid Entries:

An existing entity-type that is specified for this relationship

Default Value:

(No default)

Parent:

Specify the RECORD or TABLE occurrence name only if the type is FIELD, KEY, or ELEMENT. We recommend that you do not relate a field, key, or element in a DATABASE structure with a non-model occurrence.

Valid Entries:

An existing RECORD or TABLE occurrence name

Default Value:

(No default)

Name:

Specify the name of the occurrence to which you are adding the relationship with the anchored occurrence.

Valid Entries:

An existing occurrence name

Default Value:

(No default)

Status/Version:

Specify the status or version of the occurrence.

Valid Entries:

001—999
T001—T999

Default Value:

(No default)

...intersection data:

Fill in optional information that is pertinent to the relationship between the two occurrences.

Valid Entries:

1 to 72 characters

Default Value:

(No default)

After completing your entries on this panel, press PF9 (APPLY). If you are adding a non-ordered relationship or are deleting a relationship and there are no errors, CA Datacom Datadictionary gives you a message confirming successful completion of this function.

If the relationship is between two occurrences of the same entity-type, CA Datacom Datadictionary presents the following panel. If you are adding an ordered relationship, CA Datacom Datadictionary displays the Ordered Relationship Add Sequence Information panel. For more information, see With Ordered Relationships.

=> => => ----------------------------------------------------------------------------- DDOL: Relationship Add Subject/Object Inquiry T81F Relationship Name: JOB-JOB-REQUIRES will relate...... Type: JOB Parent: __________________________ Name: LEDGER Status: TEST Version 001 ...to........ Type: JOB Parent: __________________________ Name: AR Status/Version: 001 _ Enter S or O to specify whether the second occurrence on the panel will be the subject or the object of the relationship. PF1=HELP PF2=END PF3=CLARIFY PF4=PROCESS PF5=MENU PF6=STATUS PF7=SCB PF8=SCF PF9=APPLY PF10=PATH PF11=NEXT PF12=INPUT

The Relationship Add Subject/Object Inquiry panel appears if the relationship you are adding is between two occurrences of the same entity-type, such as PROGRAM and PROGRAM. CA Datacom Datadictionary fills in the fields on this panel for you, except for the last field on the panel. Type an S or an O to specify whether the second occurrence on the panel is the subject or object of this relationship. After filling in the field, press Enter.