Introduction to DDL
Data Definition Language (DDL) Reference Manual — 426798-002
1- 11
Examining a Dictionary
2. Change a referenced object.
Open the dictionary and a new DDL source schema file. Use an OUTPUT
UPDATE statement to identify all objects that refer to the object you want to
change and write the necessary statements to the open DDL source schema file.
Close the source schema file and edit the DDL file, if necessary. Then compile the
source statements into the open dictionary with a SOURCE command.
Examining a Dictionary
DDL produces a schema listing by default. In addition, DDL can produce a schema
report that provides information about the object definitions in a schema. For each
Figure 1-5. Maintaining a Dictionary
17> DDL DICT
!? SOURCE schema (newdef)
! EXIT
1
Add new definition to
dictionary
18> DDL DICT
!?DDL ddlsrc
!OUTPUT UPDATE def1.
!?NODDL
!EDIT ddlsrc
.
.
.
*EXIT
!? SOURCE ddlsrc
! EXIT
2
Change a referenced definition
DDL
DDL
Source
Schema
Dictionary
Edited
DDL
Source
Schema
? SECTION
newdef
DEF defx TYPE
def1.
Dictionary
DDL
Source
Schema
EDIT
VST005.vsd