RSICC CODE PACKAGE PSR-426
1. NAME AND TITLE
ADASAGE: Ada Application Development System, Versions 4.02, 4.0 and 3.1.
EG&G Idaho Inc., Idaho Falls, Idaho through the Energy Science and Technology Software Center, Oak Ridge, Tennessee.
3. CODING LANGUAGE AND COMPUTER
P00426IBMPC00 contains the following versions:
ADASAGE 4.02-ALSYS ADA; IBM PC/AT
ADASAGE 4.02-MERIDAN ADA; IBM PC/AT
ADASAGE 4.0 - ADA 4.33 (92%) Assembler (8%); IBM PC/AT
ADASAGE 3.1 - ADA; IBM PC/AT
4. NATURE OF PROBLEM SOLVED
ADASAGE is an application development system designed to facilitate rapid and professional construction of applications written in Ada on microcomputers. Applications may vary in size from small to large multiprogram systems. ADASAGE consists of a collection of re-usable libraries for database management and form and report processing utilities having the following capabilities: basic universal type and function definitions; sequential file input/output; terminal and file input/output; DOS system command execution; data movement and fill; string manipulation; math libraries; bit manipulation; a relational database utility; data validation; menu form and window procedures; report generation; sort/merge, time, and date functions; sound production; editing; and index rebuilding. These capabilities are integrated to allow the development of an efficient system. As an application is designed and developed, ADASAGE capabilities are selected and included along with any requirements unique to that application.
5. METHOD OF SOLUTION
All ADASAGE applications which use the database, forms (windows, menus, etc.), or reporting functions require a file with a suffix of .DFL. This file contains the database schema, the various forms and windows, and report definitions. The THOR editor is used to create and maintain the .DFL file. This editor operates on a file with the suffix .SRC and creates and edits schemas, forms, and report formats and compiles the .SRC file into the .DFL file used by the application. The application will have unique requirements not satisfied by the selected utilities of ADASAGE. The code for these along with the code necessary to import and use the selected ADASAGE utilities constitutes the programmed application. The completed application system will contain the .DFL file produced by the THOR editor, the required ADASAGE utilities, and the programmed application. During the course of normal database development and use, restructuring and/or rebuilding of database files may be required if the schema for a record is modified (new fields are added, changed, or deleted and new keys selected, etc.), or if the index file for a relation becomes damaged or is destroyed. Program REBUILD performs this task. The rebuilding process is invoked by supplying both an old .DFL file name identifying the schema definition under which the current data was written and a current .DFL file name identifying the new schema definition to which the current database must be changed. REBUILD compares the old and current schema definitions for a relation, adjusts the database files accordingly, and retags the database files with the new version so that access with the new schema is allowed. The index file for the relation is then rebuilt, and any unused space within the database files removed.
6. RESTRICTIONS OR LIMITATIONS
Maxima for each ADASAGE database are, 4,294,967,000 records (tuples) per record size, 32,000 bytes record (tuple) size, 32,000 fixed-length field (attribute) size, 4,294,967,000 variable-length field (attribute) size, 1,000 relations (flat files), 1000 joined relations, 1,000 views, 500 fields (attributes) per relation, 500 keyed fields per relation, 6,550 forms (windows), 55 significant digits in a number. The user's operating system or hardware may have more stringent limits than these.
7. TYPICAL RUNNING TIME
8. COMPUTER HARDWARE REQUIREMENTS
ADASAGE runs on IBM-compatible personal computers.
9. COMPUTER SOFTWARE REQUIREMENTS
ADASAGE 4.02-ALSYS requires an ALSYS 4.33 compiler. ADASAGE 4.02-MERIDIAN requires a MERIDIAN compiler. The software was developed under DOS.
a) Included in package:
"AdaSAGE-Tutorial," EG&G Idaho (March 1992).
"Thor User's Guide" (May 1992).
"SAGE Database Inquiry (SDI) Version 4.0 - User's Manual, " EG&G Idaho (April 1992).
"AdaSAGE Structured Query Language User Manual," EG&G Idaho (November 1990).
b) Background information:
H. D. Stewart and K. D. Russell, "AdaSAGE ADA Application Development System," EG&G report (October 1990).
11. CONTENTS OF CODE PACKAGE
Included in the package are the referenced documents in (10.a), and one CD rom containing four versions of ADASAGE.
12. DATE OF ABSTRACT
KEYWORDS: DATABASE; MICROCOMPUTER