Previous Topic: MODELNext Topic: NEXT


MODIFY

Use the MODIFY command to change the attribute-values of existing occurrences in a CA Datacom/DB Model or CA FILE Model structure or substructure. This includes adding, deleting, and updating the FIELD occurrences to ELEMENT or KEY substructures.

Note: You cannot modify certain attribute-values of SQL accessible tables. For more information, see the CA Datacom/DB Database and System Administration Guide.

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.

►►─┬─ MODIFY ─┬─ entity1 ─ occ-name1 ─┬────────────────────────────────┬──────►
   └─ MOD ────┘                       └─┬─ IN ─┬─ entity2 ─ occ-name2 ─┘
                                        └─ OF ─┘

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

 ►─┬──────────┬─┬──────────────────────────┬──────────────────────────────────►◄
   ├─ COND ◄ ─┤ └─ AS ─ OF ─ YYYYMMDDhhmm ─┘
   └─ FULL ───┘
entity1

(Required) Specify the entity of the occurrence you are modifying.

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 modifying.

Valid Entries:

1- to 32-character 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.

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)

After you complete your entries and press Enter, CA Datacom Datadictionary responds with the DATACOM/DB or File Structure Maintenance Panel for the occurrence.