Previous Topic: Add KEY SubstructuresNext Topic: Add RECORD Substructures


Define FIELDs to the KEY

Use the following descriptions when defining the fields that comprise the key. This region contains one line to define one field.

To insert additional lines on this panel:

  1. Type I (Insert) and the number of lines you want to insert in the line number display one line before where you want the lines inserted.
  2. Press Enter. The panel displays the original line, plus the inserted lines without line numbers. For more information about line commands, see Line Commands.
Name:

(Required) Specify a FIELD occurrence name. The FIELD occurrence must already be defined to the RECORD. If you specify the parent field of a compound field as a component of the key, all the simple fields in the compound field are included. You can specify selected simple fields within the compound field as components of the key. If this is the case, do not specify the parent field as a component.

Valid Entries: 1- to 32-character name

Default Value: (No default)

Order

This field does not apply in this mode.

Data-Sensitive

This field does not apply in this mode.

Compiler-Name

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

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 names, specify an Assembler name for the field in this key.

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. The Field Summary Display panel lists the FIELD occurrences and their attribute-values.

If an entry for a field is incorrect, you receive an error code in the column to the left of Level on the FILE Maintenance Panel when you press PF9 (APPLY). For more information, see the section about field maintenance error codes in the CA Datacom/DB Message Reference Guide.