Previous Topic: CREATENext Topic: DELETE


DEFINE

Use the DEFINE command to add, delete, or update FIELD occurrences in a TABLE (DBMAINT Mode) or in a RECORD (FILEMAINT Mode) substructure. To add, delete, or update FIELD occurrences in ELEMENT or KEY substructures, see MODIFY.

Use the following format for this command:

Note: If your completed command exceeds the 76 spaces available in one command line, use the prompter panel to issue the command.

►►─┬─ DEFINE ─┬─ entity ─ occ-name ─┬─ STATUS xxxx ─┬─────────────────────────►
   └─ DEF ────┘                     └─ STA xxxx ────┘

 ►─┬─────────────────┬─┬─────────────────┬────────────────────────────────────►◄
   ├─ PASSWORD xxxx ─┤ ├─ OVERRIDE xxxx ─┤
   └─ PSWD xxxx ─────┘ └─ OVRD xxxx ─────┘
entity

(Required) Specify the entity of the occurrence to which you are adding, deleting, or updating a FIELD occurrence.

Valid Entries in DBMAINT Mode:

TABLE|TBL

Valid Entries in FILEMAINT Mode:

RECORD|REC

Default Value:

(No default)

occ-name

(Required) Specify the name of the existing occurrence to which you are adding, deleting, or updating a FIELD occurrence.

Valid Entries:

1- to 32-character occurrence name

Default Value:

(No default)

STA xxxx

(Required) Specify the status of the existing occurrence.

Valid Entries:

T001—T999

Default Value:

(No default)

PSWD xxxx

Only required if this occurrence has password protection against unauthorized maintenance. Supply the password for this occurrence.

Valid Entries:

1- to 4-character password

Default Value:

(No default)

OVRD xxxx

Only required if this occurrence is restricted from unauthorized maintenance or retrieval with a lock level assignment. Supply the override code.

Valid Entries:

1- to 4-character override code

Default Value:

(No default)

When you press Enter, CA Datacom Datadictionary displays the FILE Maintenance Panel for the selected occurrence where you specify the FIELD occurrence attribute-values.