Previous Topic: File ModelNext Topic: Defining Dataviews


Defining Elements

The definition of elements is determined by the needs of various applications for the data in the table. An element is the logical unit of data transferred by the CA Datacom/DB software.

In CA Datacom/DB, you can define a dataview as any ordered collection of elements, with an element being any collection of fields in a record. This can include the entire record or just one field in the record. An element must be defined as consisting of fields that are contiguous.

The elements related to an CA Datacom/DB native dataview cannot contain overlapping columns. Otherwise, an error occurs when the dataview is cataloged.

CA Ideal, however, imposes additional restrictions that limit the elements that can be related to a given dataview (for CA Ideal use) and how those elements can be defined.

The following restrictions apply for dataviews and their related elements that CA Ideal accesses:

The following graphic illustrates the definition of elements for a sample record, PER‑REC, which could be defined in the dictionary facility.