Dictionary Maintenance
Data Definition Language (DDL) Reference Manual — 426798-002
10- 6
Deleting Referenced Objects
b. Use the EDIT command to examine the DDL source file. Make a note of the
name of the section that contains the DELETE statements produced by
OUTPUT UPDATE; then exit from the editor.
5. Delete all the referring objects from the dictionary. Use the SOURCE command to
submit the DDL source file section containing the DELETE statements for these
objects to the DDL compiler. This step executes the DELETE statements,
effectively deleting the objects from the dictionary.
6. Delete the object. Use a DELETE statement to delete the object from the
dictionary.
To illustrate this procedure, suppose you want to delete the definition of a field called
AGE from the dictionary and this definition is referenced by another definition and by a
record, as the following example shows:
DEF age PIC 99.
DEF employ.
02 empnum PIC 9(4).
02 empname PIC X(18).
02 age TYPE *.
END
RECORD employee. FILE IS ASSIGNED.
02 employ TYPE *.
02 region PIC 9(4).
02 branchnum PIC 9(4).
END
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...