Top
Symfoware Server V12.0.0 Application Development Guide
FUJITSU Software

6.4.2 Compiling Applications

C source is created by precompiling the embedded SQL in C source file with the ecpg command.

Note

In the source file of the embedded SQL, Multibyte codes expressed in SJIS cannot be included in statements and host variable declaration specified in EXEC SQL.

Compile the C source with a C compiler.

Precompiling example

ecpg testproc.pgc

Point

C source with the extension .c is created by precompiling source with the extension .pgc.

Specify the following options when compiling a C application output with precompiling.