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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OTT Utility Reference<br />

OTT username/password ...<br />

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

automatically attempts to connect to the default database as user OPS$username,<br />

where username is the user’s operating system username.<br />

Where OTT Parameters Can Appear<br />

Supply OTT parameters on the command line, in a CONFIG file named on the<br />

command line, or both. Some parameters are also allowed in the INTYPE file.<br />

The OTT utility is invoked as follows:<br />

OTT parameters<br />

You can name a configuration file on the command line with the CONFIG<br />

parameter as follows:<br />

CONFIG=filename<br />

If you name this parameter on the command line, then additional parameters are<br />

read from the configuration file named filename.<br />

In addition, parameters are also read from a default configuration file that resides in<br />

an operating system-dependent location. This file must exist, but can be empty. If<br />

you choose to enter data in the configuration file, note that no white space is<br />

allowed on a line and parameters must be entered one to a line.<br />

If the OTT utility is executed without any arguments, then an online parameter<br />

reference is displayed.<br />

The types for the OTT utility to translate are named in the file specified by the<br />

INTYPE parameter. The parameters CASE, CPPFILE, HFILE, INITFILE,<br />

INITFUNC, MAPFILE, and MAPFNC may also appear in the INTYPE file. OUTTYPE<br />

files generated by the OTT utility include the CASE parameter, and include the<br />

INITFILE, and INITFUNC parameters if an initialization file was generated or the<br />

MAPFILE and MAPFUNC parameters if <strong>C++</strong> codes was generated. The OUTTYPE file,<br />

as well as the CPPFILE for <strong>C++</strong>, specifies the HFILE individually for each type.<br />

The case of the OTT command is operating system-dependent.<br />

7-126 <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!