User`s guide
Building and Running a Programmatic Interface Application
5-4 Oracle Database User's Guide
When you use LMS library elements, the element name you specify must be the full
element name including the suffix. Pro* does not append the suffix to the element
name.
5.2.2.1 Include Files
All standard include files are shipped in the LMS library,
$ORAC1120.PRO.INCLUDE.LIB
. You must enter either this library or a user-defined
include library for
EXEC SQL INCLUDE
statements using the
INCLUDE
precompiler
option as follows:
* INCLUDE=$ORAC1120.PRO.INCLUDE.LIB \
* INCLUDE=mylibrary
where
mylibrary
is the BS2000 file name of the user-defined library, such as
PROC.INCLIB
.
5.2.2.2 User-Specific Configuration Files
You can also specify a user-specific configuration file as an LMS-element using the
following syntax:
* CONFIG=my_config_lib[config_element]
where
my_config_lib
is the BS2000 file name of the configuration library and config_
element is the full name of the element.
For example:
* CONFIG=CONFIG.LIB[PROCOB.CFG]
5.2.2.3 Input, Output, and List-files
Besides using BS2000 files, you can also benefit from using LMS-elements for
precompiler I/O using the options
INAME
,
ONAME
, and
LNAME
.
If you do not specify a library file name and an element from it, then the Oracle
precompilers generate ISAM BS2000 files by default. The only option that you must
enter is the
INAME
option. That can be either a BS2000 file name (
SAM
or
ISAM
) or a
library file name and the name of an element from it.
For example,
* INAME=my_input_lib[my_element]\
* ONAME=my_output_lib[my_element]\
* LNAME=my_list_lib[my_element]
where
my_input_lib
is the BS2000 file name of the particular library and
my_element
is the name of the element including the specific suffix.
Attention: The order in which you specify different
INCLUDE-options affects the performance of precompilation. You
should place commonly-used files before rarely-used ones.
Note: You must use brackets when specifying the configuration
element, as shown in the following example.