Previous Topic: EDIT SQLNext Topic: END


ENABLE

Use the ENABLE command to indicate that data defined in a CA Datacom/DB Model or CA FILE Model structure or substructure is in synchronization with the CA Datacom Datadictionary definition and available for use by other CA products. This command enables the CA Datacom Datadictionary definition, not the CA Datacom/DB definition. Enabling a structure or substructure does not affect the definition in the CA Datacom/DB Directory (CXX). Therefore, you can enable a structure or substructure that is not synchronized with the CA Datacom/DB Directory, but this can cause unpredictable results in CA products (such as CA Dataquery and CA Ideal) that depend on this synchronization.

Enable a structure that has been previously disabled. For more information, see DISABLE.

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.

►►─┬─ ENABLE ─┬─ entity1 ─ occ-name1 ─┬────────────────────────────────┬──────►
   └─ ENAB ───┘                       └─┬─ IN ─┬─ entity2 ─ occ-name2 ─┘
                                        └─ OF ─┘

 ►─┬─ STATUS xxxx ─┬─┬─────────────────┬─┬─────────────────┬──────────────────►◄
   └─ STA xxxx ────┘ ├─ PASSWORD xxxx ─┤ ├─ OVERRIDE xxxx ─┤
                     └─ PSWD xxxx ─────┘ └─ OVRD xxxx ─────┘
entity1

(Required) Specify the entity for the occurrence that you are enabling.

Valid Entries in DBMAINT Mode:

DATABASE|BAS AREA|ARA

TABLE|TBL

KEY

ELEMENT|ELM

DATAVIEW|DVW

Valid Entries in FILEMAINT Mode:

FILE|FIL RECORD|REC

KEY

ELEMENT|ELM

DATAVIEW|DVW

Default Value:

(No default)

occ-name1

(Required) Specify the name of the occurrence you are enabling.

Valid Entries:

An existing occurrence name

Default Value:

(No default)

entity2

Only required if displaying a KEY or ELEMENT occurrence. Specify one of the following entities.

Valid Entries in DBMAINT Mode:

TABLE|TBL

Valid Entries in FILEMAINT Mode:

RECORD|REC

Default Value:

(No default)

occ-name2

Only required if displaying a KEY or ELEMENT occurrence. Specify the name of the TABLE or RECORD occurrence.

Valid Entries:

1- to 32-character occurrence name

Default Value:

(No default)

STA xxxx

(Required) Specify the status of the occurrence you are enabling.

Valid Entries:

1—999

PROD

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)

Press PF9 (APPLY) to process the ENABLE command. CA Datacom Datadictionary responds with a message confirming successful completion of the function on the CA Datacom/DB Structure Maintenance Panel or the FILE Structure Maintenance Panel.