Previous Topic: Coding ConsiderationsNext Topic: Syntax Format


Overview

The Data Dictionary Definition Language (DDDL) is the source language used to maintain data resource components in the dictionary. Input to the DDDL compiler consists of source statements; the compiler processes the input and populates the data dictionary. Once added to the dictionary, data resource definitions can be modified, replaced, deleted, displayed, and punched by using DDDL syntax.

You can submit input to the DDDL compiler in online or batch mode.

Note: Identical syntax rules apply to online and batch input to the DDDL compiler.

Online Statement Entry

Online, you can submit statements in three ways:

Batch Statement Entry

As an alternative to online statement entry, you can submit freeform source statements to the DDDL compiler in batch mode. Output from the DDDL compiler consists of the Integrated Data Dictionary Activity List, which lists each source input statement and a Transaction Summary (as described above under online entry). Error messages issued during the batch run appear on the line immediately following the problem statement.

The following figure shows a sample Integrated Data Dictionary (IDD) Activity List.

IDMSDDDL nn.n CA DATE TIME PAGE INTEGRATED DATA DICTIONARY ACTIVITY LIST mm/dd/yy 08463000 0001 0001 SET OPTIONS INPUT COLUMNS ARE 1 THRU 71. 0002 MODIFY ENTITY SYSTEM 0003 USER DEFINED NEST IS 'SIMILAR FILE'. 0004 MODIFY ENTITY SYSTEM 0005 USER DEFINED NEST IS 'RELATED FILE'. 0006 ADD CLASS ENTITY-STATUS 0007 DELETION LOCK IS ON 0008 ATTRIBUTES ARE MANUAL SINGULAR. 0009 ADD CLASS ENTITY-TYPE 0010 DELETION LOCK IS ON 0011 ATTRIBUTES ARE SINGULAR. 0012 ADD ATTRIBUTE PRODUCTION 0013 WITHIN CLASS ENTITY-STATUS 0014 DELETION LOCK IS ON 0015 COMMENTS 'DESIGNATES PRODUCTION OCCURRENCES'. 0016 ADD SYSTEM ORDER-CONTROL. 0017 ADD SYSTEM BACK-ORDER. 0018 ADD SYSTEM INVENTORY 0019 WITHIN SYSTEM ORDER-CONTROL 0020 ENTITY-STATUS PRODUCTION 0021 'SIMILAR FILE' BACK-ORDER. IDMSDDDL nn.n COMPUTER ASSOCIATES INTERNATIONAL, INC. DATE TIME PAGE INTEGRATED DATA DICTIONARY ACTIVITY LIST mm/dd/yy 08463000 0002 ** TRANSACTION SUMMARY ** ENTITY ADD MODIFY REPLACE DELETE DISPLAY ..................... ... ...... ....... ...... ....... ENTITY 0 2 0 0 0 ATTRIBUTE 1 0 0 0 0 CLASS 2 0 0 0 0 SYSTEM 3 0 0 0 0 NO ERRORS OR WARNINGS ISSUED FOR THIS COMPILE

The sections in this chapter describe the general rules for preparing statements for input to the DDDL compiler.