Creating Table Definitions (Generic PROGRUN only)

You can create the necessary table definitions using the DP4 preprocessor, LIBMAKE. The preprocessor creates a file of definitions and code. For a full explanation see the C Programmers Reference Manual.

To create the table definitions, include the following lines in your source code:

/*

#pointer

#db MYDB

#table employee.main, table.role;

#end

*/

Run LIBMAKE with the following command:

LIBMAKE SOURCE.C

From the .H file generated, delete the two functions, init() and finish(). These functions are not required for a generic Program Interpreter.