Building embedded SQL applications from the command line involves
the following steps:
- Precompile the application by issuing the PRECOMPILE command
- If you created a bind file, bind this file to a database to create
an application package by issuing the BIND command.
- Compile the modified application source and the source files that
do not contain embedded SQL to create an application object file
(a .obj file).
- Link the application object files with the DB2® and host language libraries to create an
executable program using the link command.