This is an old revision of the document!
OACOMP is a console based application that compiles an environment source file into a compiled Environment Catalog.
This operation occurs in three phases:
oacomp <Source File> <Object File> [<List File>]
Source File is the uncompiled environment source detailing the database, tables and columns, and other pertinent information used by Omnidex. A .src extension is assumed and will automatically be appended to the end of the supplied file name.
Object File is the name of the output file, the compiled environment catalog. If omitted, the output file will be the same as the source file with a .env extension.
List File is an optional message file where compiler messages will be written to. If omitted, messages will be displayed to the console window.
Runing OACOMP Run OACOMP from the command line with the environment source file as an argument.
If passing the source file by itself, taking the default output file, do not include the .src suffix. If passing the source file and the output file, include both the .src suffix for the source file and the .env suffix for the output file. C:\omnidex\demo>oacomp orders DS73010 2.6.11 OmniAccess Environment Compiler Tue Sep 30 12:35:52 2003 © Dynamic Information Systems Corp. 1981-2003 LICENSEE: DISC Internal Copy
Parsed; Validated; Compiled; Done Environment Compiled Successfully!
C:\omnidex\demo>
You can specify fully qualified the path of the source file as well as the output .env file.
C:\omnidex\demo>oacomp d:\test\orders.src d:\test\env\orders.env DS73010 2.6.11 OmniAccess Environment Compiler Tue Sep 30 12:35:52 2003 © Dynamic Information Systems Corp. 1981-2003 LICENSEE: DISC Internal Copy
Parsed; Validated; Compiled; Done Environment Compiled Successfully!
C:\omnidex\demo>
(c)Copyright Dynamic Information Systems - This document was last updated November 11, 2009.