Precompile and Bind

DB2 application programs include SQL statements. In order to compile those programs, the SQL statements must be converted into language recognized by the compiler or assembler. The DB2 precompiler or a host-language compiler needs to be used to:

  • Replace the SQL statements in the source programs with compilable code

  • Create a database request module (DBRM), which communicates the SQL requests to DB2 during the bind process

After the source program has been precompiled, a load module is created, possibly one or more packages, and an application plan. Creating a load module involves compiling and link-editing the modified source code that is produced by the precompiler. Creating a package or an application plan, a process unique ...

Get DB2® Universal Database for OS/390® Version 7.1 Certification Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.