10.12.2012 Views

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OTT Utility Reference<br />

If the filename specified for the ERRTYPE parameter on the command line does not<br />

include an extension, a platform-specific extension such as .TLS or .tls is<br />

automatically added.<br />

ERRTYPE=filename<br />

HFILE Parameter<br />

This parameter specifies the name of the header (.h) file to be generated by the OTT<br />

utility. The HFILE specified on the command line contains the declarations of types<br />

that are mentioned in the INTYPE file but whose header files are not specified there.<br />

This parameter is required unless the header file for each type is specified<br />

individually in the INTYPE file. This parameter is also required if a type not<br />

mentioned in the INTYPE file must be generated because other types require it, and<br />

these other types are declared in two or more different files.<br />

If the filename specified for the HFILE parameter on the command line or in the<br />

INTYPE file does not include an extension, a platform-specific extension such as H<br />

or .h is automatically added.<br />

HFILE=filename<br />

INITFILE Parameter<br />

For OCI only. This parameter specifies the name of the initialization file to be<br />

generated by the OTT utility. If you omit this parameter, then the initialization file<br />

will not be generated.<br />

For Pro*C/<strong>C++</strong> programs, the INITFILE is not necessary, because the SQLLIB<br />

run-time library performs the necessary initializations. An OCI programmer must<br />

compile and link the INITFILE files, and must call the initialization functions<br />

when an environment handle is created.<br />

If the filename specified for the INITFILE parameter on the command line or in the<br />

INTYPE file does not include an extension, a platform-specific extension such as C<br />

or .c is automatically added.<br />

INITFILE=filename<br />

INITFUNC Parameter<br />

For OCI only. This parameter specifies the name of the initialization function to be<br />

generated by the OTT utility.<br />

This parameter is optional. If you omit this parameter, then the name of the<br />

initialization function is derived from the name of the INITFILE.<br />

7-122 <strong>Oracle</strong> <strong>C++</strong> <strong>Call</strong> <strong>Interface</strong> Programmer’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!