home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / sql / rappabs.doc < prev    next >
Encoding:
Text File  |  1988-05-03  |  3.6 KB  |  59 lines

  1.           package ADA_RAPPORT_INTERFACE is -- a working
  2.           --   prototype Ada interface to Logica's Relational Database
  3.           --   Management System, RAPPORT.  It allows application programs
  4.           --   to be written in Ada which want to access a RAPPORT
  5.           --   database.  RAPPORT commands are embedded in Ada using a
  6.           --   collection of overloaded Ada/RAPPORT packages.  Users can
  7.           --   simultaneously access the database via the other interfaces
  8.           --   (FORTRAN, COBOL, PASCAL, RaSQL, RAPIDE and RAPIER), as well
  9.           --   as via Ada.  This is not a necessary requirement, but is
  10.           --   extremely useful while we are working with a prototype.
  11.           --   Before accessing a new database from Ada, you will need to
  12.           --   know how to define a RAPPORT database which can be found in
  13.           --   the RAPPORT Facilities Manual.  Before running up your first
  14.           --   Ada program, you must run the utility MAKE_PACKAGE which
  15.           --   creates the Ada/RAPPORT packages specific to that database.
  16.           --   This is a once only activity for each database you wish to
  17.           --   access via Ada.  We had access only to the Telesoft Ada
  18.           --   compiler version 1.5, with no generics, and so instantiation
  19.           --   must be carried out by hand, as described in the Ada/RAPPORT
  20.           --   User Manual.
  21.           --   This manual is currently being put up on the NET.
  22.           
  23.             package RAPPORT_COMMANDS is new RAPPORT_PROCESS_PACKAGE
  24.             --   All RAPPORT commands, e.g., FETCH, SEARCH, etc. are
  25.             --   implemented using overloaded Ada/RAPPORT packages defined
  26.             --   in the Ada/RAPPORT User Manual.  In this way RAPPORT
  27.             --   commands can be embedded in the Ada application code.
  28.           
  29.             package DATA_DEFINITIONS is new DATA_DEFINITIONS_PACKAGE
  30.             --   All data definitions are automatically set up by running
  31.             --   MAKE_PACKAGE once for each new database to be accessed via
  32.             --   Ada.  Because there were no generics, package
  33.             --   instantiation must be done by hand in this version of the
  34.             --   prototype.
  35.           
  36.             package TITLE_PAGE is new TITLE_PAGE_PACKAGE
  37.                  (DEVELOPING_ORGANIZATION   ==>   "Logica",
  38.                   AUTHORS                   ==>  ("Dick Perkins",
  39.                                                   "Malcolm Dick"
  40.                                                   "David Lund"),
  41.                   CONTACT                   ==>   "Dave Anker",
  42.                   ADDRESS                   ==>  ("666 Third Avenue",
  43.                                                   "New York",
  44.                                                   "NY", "10017"),
  45.                   PHONE                     ==>  (212,682,9344),
  46.                   DATE_SUBMITTED            ==>  (5,Apr,1985));
  47.  
  48.             package TECHNICAL_PARAMETERS is new TECHNICAL_PARAMETERS_PACKAGE
  49.                  (STATUS                    ==>  (WORKING_PROTOTYPE),
  50.                   DEVELOPMENT_COMPILER      ==>  (Telesoft, 1.5),
  51.                   REQUIREMENTS              ==>  (Vax, RAPPORT)
  52.                   COMMAND_STRUCTURE         ==>  (RAPPORT_COMMANDS));
  53.           
  54.             package DEVELOPMENT_SCHEDULE_AND_STATUS is new SCHEDULE_PACKAGE
  55.                  (COMPLETED_EVENTS          ==>  (START_DATE, (12,Nov,1984)),
  56.                                                  (DELIVERY,(11,Mar,1985));
  57.                     
  58.           end ADA_RAPPORT_INTERFACE;
  59.