//DDB-FileStart //DDB-HeaderStart // File Name : EDITOR.DD // Class Name: Editor_DataDictionary // Revision : 2 // Version : 2 Use Windows // Basic Definitions Use DataDict // DataDictionary Class Definition Use DDvalTbl // Validation Table Class Definitions Open Editor //DDB-HeaderEnd Class Editor_DataDictionary is a DataDictionary // Define_Fields: // This procedure is used to set up all data-dictionary rules. Procedure Define_Fields Forward Send Define_Fields //DDB-Generated-Code-Location //DDB-DefineFieldStart Set Main_File To Editor.File_Number Set Foreign_Field_Options DD_KEYFIELD To DD_AUTOFIND DD_NOPUT DD_FINDREQ Set Foreign_Field_Options DD_INDEXFIELD To DD_NOPUT DD_FINDREQ Set Foreign_Field_Options DD_DEFAULT To DD_DISPLAYONLY // Field-based properties....................... // Editor.User // Editor.File Set Field_Options Field Editor.File To DD_REQUIRED // Editor.Type Set Field_Options Field Editor.Type To DD_REQUIRED // Editor.Count // Editor.Data //DDB-DefineFieldEnd End_Procedure // Define_Fields // Field_Defaults: // This procedure is used to establish default field values. Procedure Field_Defaults Forward Send Field_Defaults //DDB-Generated-Code-Location //DDB-FieldDefaultStart //DDB-FieldDefaultEnd End_Procedure // Field_Defaults End_Class // Editor_DataDictionary //DDB-FileEnd