Previous Topic: Add ELEMENT SubstructuresNext Topic: Explicit Method


Implicit Method

To use the implicit method, use First Field and Last Field attributes to indicate the FIELD occurrence at the beginning and the FIELD occurrence at the end of the contiguous group of fields in the list you are defining to the element.

All fields between the two specified fields, including the designated First Field and Last Field, become components of the element. CA Datacom/DB uses these attribute-values to identify the element. This method eliminates the need to scroll through multiple panels of fields to define an element.

If you want to define a compiler name or an assembler name for specific fields, scroll through the FILE Maintenance Panel to enter the names on the panel.

Complete the definition of the ELEMENT occurrence by specifying the First Field and Last Field attributes in the ELEMENT attribute region. Press PF9 (APPLY) after completing your entries, . If there are no errors, CA Datacom Datadictionary displays a Field Summary Panel for the element with a message confirming successful maintenance.

=> => => 1-DDOL000407I - 12IP - ELEMENT HAS NO RELATED FIELDS ---------------------------------------------------------------------------- DATACOM/DB STRUCTURE MAINTENANCE ADD TUEU ............................ ELEMENT ATTRIBUTES ............................ Name : ACCTS Status/Version: T001 Table : ACCTS DB-Name: _____ First Field: ________________________________ Last Field : ________________________________ ............................. FIELD ATTRIBUTES ............................... Field Name Include? Compiler-Name Assembler-Name ====== = =================== T O P ====== =================================== 000001 CUST-ID N 000002 ORD-ID N 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

The following list describes each attribute, the valid entries, and the default (if one exists). Attributes that require an entry are highlighted on your terminal. Attributes which are not highlighted indicate that an entry is optional. If you do not assign a value to these attributes, they default to the value assigned in CA Datacom Datadictionary.

DB-Name:

(Required) Specify a name that is unique within the TABLE substructure. CA Datacom/DB uses this name to identify this element.

For more information, see the DATACOM-NAME attribute-type for ELEMENT occurrences in the CA Datacom Datadictionary Attribute Reference Guide.

Valid Entries:

Five alphanumeric characters

Default Value:

(No default)

First Field:

Specify the first field in the element. You can enter $FIRST if the FIELD occurrence is the first field in the TABLE substructure. Otherwise, enter the FIELD occurrence name.

Valid Entries:

A FIELD occurrence name
$FIRST

Default Value:

(No default, if you use this method)

Last Field:

Specify the last field in the element. You can enter $LAST if the FIELD occurrence is the last field in the TABLE substructure. Otherwise, enter the FIELD occurrence name.

Valid Entries:

A FIELD occurrence name
$LAST

Default Value:

(No default, if you use this method)

Compiler-Name

(Optional) If your site uses compiler names that are different from the occurrence names, specify the compiler name for the field within this element.

Valid Entries:

1- to 30-character compiler name

Default Value:

(No default)

Assembler-Name

(Optional) If your site uses Assembler names that are different from the occurrence names, specify the Assembler name for the field within this element.

Valid Entries:

1- to 8-character Assembler name

Default Value:

(No default)