This illustration shows how SQL DDL statements are input to the database and used to create type definitions in the database. 

IFA sends type files to OTT.

For these type files (that is, in type files), OTT retrieves corresponding type definitions directly from the database, outputting the information as the header file and the type files (that is, out type files).

The header file is included in the C/C++ source code file, while the out type file is used by the Pro*C/C++ precompiler.

The Pro*C/C++ source code file is the input to the Pro*C/C++ precompiler. This file is converted into an equivalent pure C/C++ source file that is input to the C compiler.

The compiler outputs object files, which are linked with the SQL Runtime library to create the executable output.