Chapter 1-3: Data Dictionary Cover Page 1-03:The Data Dictionary: Cornerstone of an Application1-03:Accessing the Data Dictionary

Characteristics of the APPX Data Dictionary


The data dictionary is active in that its specifications are used by, and place real-time restrictions on, both designers creating applications and users operating them. For example, assume you defined a numeric, five-digit CUSTOMER ID field. APPX uses the length specification to provide the proper mask when a designer paints the field onto an input image. APPX also uses data dictionary specifications as a basis for validation when an image is executed. The system displays an error message if a user attempts to enter a non-numeric character into the CUSTOMER ID field. An active data dictionary maximizes consistency, productivity, and integration. It minimizes the chance for error, both when designing and using applications.

To enhance performance, you process APPX’s dictionary before using it. Specifications entered into the data dictionary are translated into a format more directly usable by APPX during process execution. The process also searches for logic errors (such as invalid key definitions or illegal record lengths), constructs a default value record for each file, computes field lengths, establishes the starting position for each field within a record, and determines whether or not the changes may affect the structure of existing data files.

The dictionary provides for integrated documentation, including entry screens for online help text and printed technical documentation.

To ensure integrity, the dictionary is automatically monitored for structural changes. Examples of structural changes include adding a field to a file or expanding the length of an existing field. By contrast, changing the standard column heading for a field is not a structural change. Whether you make a structural or nonstructural change to the dictionary, all processes that reference changed elements are automatically updated. APPX flags existing files that require restructuring, and the restructure facility (available as an option on the Database Management menu) enables your database administrator to convert them to the new structure. This facility reduces the need to “freeze” the file structures in applications. Data dictionary changes requiring restructure should be made when the file is not in active use by the end user.

 

APPX Application Design Manual (01/13/03) Cover Page 1-03:The Data Dictionary: Cornerstone of an Application1-03:Accessing the Data Dictionary

© 2003 by APPX Software, Inc. All rights reserved