Previous Topic: Add ELEMENT SubstructuresNext Topic: Explicit Method


Implicit Method

To use the implicit method, specify field names in the 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 fields defined to an 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 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 and pressing PF9 (APPLY).

=> => => 1-DDOL000407I - 12IP - ELEMENT HAS NO RELATED FIELDS ------------------------------------------------------------------------------- FILE Structure Maintenance ADD TURU ............................ ELEMENT ATTRIBUTES .............................. Name : PER-REC-HISTORY Status/Version: T001 Record: PER-REC-HISTORY First Field: ________________________________ Last Field : ________________________________ ............................. FIELD ATTRIBUTES ............................... Field Name Include? Compiler-Name Assembler-Name ====== = =================== T O P ====== =================================== 000001 EMP-NO N 000002 EMP-NAME 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

If the display is longer than the screen, you can use the scroll commands or PF keys to move backwards and forwards through the display. Another panel to display the additional fields follows the description of the fields on this panel.

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.

First Field:

Specify the first field in the element. You can enter $FIRST, if the FIELD occurrence is the first field in record, or the FIELD occurrence name.

Valid Entries:

A FIELD occurrence name
$FIRST if the FIELD occurrence is the first in the record

Default Value: (

(No default)

Last Field:

Specify the last field in the element. You can enter $LAST, if the FIELD occurrence is the last field in the record, or the FIELD occurrence name.

Valid Entries:

A FIELD occurrence name
$LAST if the FIELD occurrence is the last in the record

Default Value:

(No default)

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)

Press PF9 (APPLY) after completing your entries. If there are no errors, CA Datacom Datadictionary displays a Field Summary Display panel with the message confirming successful field maintenance.