Previous Topic: Implicit MethodNext Topic: Delete FIELD Occurrences


Explicit Method

The explicit method requires using the Include? attribute in the FIELD ATTRIBUTES region to specify the fields which are components of the element.

----------------------------------------------------------------------------- Element Field-Name Include? Compiler-Name ASM-Name ====== = ========================= T O P ====================================== 000001 ORD-ID Y 000002 BILL-DT Y 000003 BILL-YR Y PF1=HELP PF2=END PF3=CLARIFY PF4=PROCESS PF5=MENU PF6=STATUS PF7=SCB PF8=SCF PF9=APPLY PF10=PATH PF11=NEXT PF12=INPUT

If you use the explicit method to define fields to an element, CA Datacom Datadictionary assigns the name of the beginning FIELD occurrence of the group that you specify as the value for the First Field attribute. It assigns the name of the ending FIELD occurrence in the group you specify as the value for the Last Field attribute.

If you add any FIELD occurrences to the record or table after the element is defined, they are included as components of the element provided they are inserted on the FILE Maintenance Panel between the fields identified as the First Field and Last Field in the element. If you add them before the existing first field or after the existing last field, you must include them as components of the element by using this method.

Include?

The default value of N (no) is originally displayed on the Element FILE Maintenance Panel, indicating that no fields have been defined to the element. Change the value from N to Y (yes) for each field you want to include in the element.

Valid Entries:

Y or N

Default Value:

N

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)

ASM-Name

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

Valid Entries:

1- to 8-character ASSEMBLER name

Default Value:

(No default)