Relations

The <relations> definition lists the relations defined for the object. A common, and recommended, <relations> form:

RELATIONS

TO_NAME = <object_name> REL <relation_name>;

END RELATIONS

When relating two objects, the relation can be specified on either object or on both objects in the import file, even though the relation might be stored on just one object in the physical database.

If one or more of an object's relations is not specified for an update, the relation value will not change. If one or more of an object's relations is not specified for an insert, the relation value will be set to NULL.

If using the <relations> definition with a REFERENCE or DELETE, only specify the relations used for the unique identification of the row.

This section describes the five ways that the <relations> definition can be specified:

See Also

Common Import Object Definition Elements

Header

Uniques

Fields

Clear Relations

Next

Specify the Relation by Name

Relations