Oracle7 Administrator's Reference for UNIX

Contents Index Home Previous Next

Pro*Ada

Using Pro*Ada

The $ORACLE_HOME/precomp/demo/proada directory contains the simple.pad sample Ada program. Before running simple.pad, build your demonstration database using the demobld.sql file, as discussed in Chapter 7, "SQL*Plus". To run the proada utility on the sample Ada program, enter:

$ make -f proada.mk simple

To execute the sample Ada program, enter:

$ simple

You can now add additional employees to the demonstration database.

You can build your own Pro*Ada programs with proada.mk. To precompile, compile, and link the userprog.pad program, enter:

$ make -f proada.mk userprog

Note: If your program depends on non-Oracle libraries, you may have to alter proada.mk to include them.

The Pro*Ada runtime library source files are provided. These files are compiled at Pro*Ada installation. Pro*Ada installation must be rerun after each re-installation or upgrade of the Ada compiler.

Note: Pro*Ada user exits may not be supported on your platform. If Pro*Ada user exits are supported, you can use the proadaxt.mk makefile to create your Pro*Ada user exit.


Contents Index Home Previous Next