Previous Topic: Define a PathNext Topic: Display Structures


Display Relationship Definitions

When you select the DISPLAY RELDEF option, CA Datacom Datadictionary presents the following panel:

=> => => ----------------------------------------------------------------------------- DDOL: Relationship Definition Display Selection T08D Select relationship definitions to be displayed by filling in one or more of the following: Relationship Name: ________________________________ Subject Entity-type: ________________________________ Object Entity-type: ________________________________ PF1=HELP PF2=END PF3=CLARIFY PF4=PROCESS PF5=MENU PF6=STATUS PF7=SCB PF8=SCF PF9=APPLY PF10=PATH PF11=NEXT PF12=INPUT

Relationship Name:

Specify the name of the relationship whose definition you want to display here. If you leave this field blank, CA Datacom Datadictionary uses the default, ALL, and returns a display of all relationship definitions.

Valid Entries:

A valid relationship name

ALL

Default Value:

ALL

Subject Entity-type:

Specify the name of the entity that is the subject of the relationship definition you want to display. If you leave this field blank, CA Datacom Datadictionary uses the default, ALL and returns all subject entities for the selected relationship. You cannot use the abbreviation for the entity-type in this field.

Valid Entries:

A valid entity

ALL

Default Value:

ALL

Object Entity-type:

Specify the name of the entity that is the object of the relationship definition you want to display. If you leave this field blank, CA Datacom Datadictionary uses the default, ALL and returns all object entities for the selected relationship. You cannot use the abbreviation for the entity-type in this field.

Valid Entries:

A valid entity

ALL

Default Value:

ALL

When you complete your entries and press Enter, CA Datacom Datadictionary presents a display similar to the following:

=> => => ----------------------------------------------------------------------------- DDOL: Relationship Definition Display T08D Selected Relationship Name: $INTERNAL Selected Subject Entity-type: ALL Selected Object Entity-type: ALL Relationship name Map Req Aut Ord Cpy Mdl Subject Entity-type Object Entity-type ====== ========================== T O P ======================================= 000001 $INTERNAL MM N N N B N AREA FILE 000002 $INTERNAL 1M Y N N B N DATABASE AREA 000003 $INTERNAL MM N N Y B N DATAVIEW ELEMENT PF1=HELP PF2=END PF3=CLARIFY PF4=PROCESS PF5=MENU PF6=STATUS MORE.... PF7=SCB PF8=SCF PF9=APPLY PF10=PATH PF11=NEXT PF12=INPUT

This panel displays the criteria you entered on the Relationship Definition Display Selection panel and the relationship definitions that match your criteria. When the display is longer than the screen, you can use the scroll commands or PF keys to move backward and forward through the display.

The display includes two lines of information for each relationship definition. The information in the first line includes the relationship name and the attribute-values for the definition.

The attributes and their possible values are displayed in the following chart:

Attribute

Description

Values

Mapping

Describes the number of occurrences that are subjects and objects of the relationship

11 (one-to-one)
1M (one-to-many)
M1 (many-to-one)
MM (many-to-many)

Required

Indicates if each object must always
be related to at least one subject

Y (yes)
N (no)

Automatic

Indicates if subject and object are to
be automatically related when object
is added

Y (yes)
N (no)

Ordered

Indicates if the order of relationships
is significant

Y (yes)
N (no)

Copy

Indicates relationships are to be
copied when the specified occurrence
is copied

O (object)
S (subject)
B (both)
M (model)*
N (neither)

Model

Indicates relationships are to be
copied when the specified occurrence
is used as a model

O (object)
S (subject)
B (both)
N (neither)

Note: *For an explanation of the M COPY-RULE attribute, see the CA Datacom Datadictionary User Guide.

The information in the second line of the panel includes the subject entity-type and the object entity-type of the displayed relationship.

When the display is longer than your screen, you can use the scroll commands or PF keys to move forward and backward through the display.