Oracle7 Administrator's Reference for UNIX

Contents Index Home Previous Next

Pro*Pascal

Using Pro*Pascal

The $ORACLE_HOME/precomp/demo/propas directory contains the sample1.ppa sample Pascal program. Before running this program, use the demobld.sql file to build a demonstration database, as described in Chapter 7, "SQL*Plus".

To run the propas utility on the sample Pascal program, enter:

$ make -f propas.mk sample1

To execute this sample Pascal program, enter:

$ sample1

You can now enter additional employees in the demonstration database.

You can build Pro*Pascal programs with propas.mk. For example, to precompile, compile, and link the userprog.ppa program, enter:

$ make -f propas.mk userprog

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

Pro*Pascal user exits are not supported on all platforms. Refer to the Oracle7 Installation Guide for your platform and README.doc file for supported user exits. If Pro*Pascal user exits are supported, use the propasxt.mk makefile to create a Pro*Pascal user exit.


Contents Index Home Previous Next