DB2 Server for VSE & VM: Application Programming


Compiling the Program

After you successfully preprocess your program, you can compile it using your normal host language compiler, and create an object deck. Use the modified source output of the DB2 Server for VSE preprocessor as input to the compiler. By preprocessing, you have already done all the translating that the program needs for the database manager. However, if the program is an on-line program, the CICS statements have to be "translated" before the program is compiled. Just use the new code that you got after you preprocessed. Compile this code as you would any other program, using the usual compilers.

This book does not cover the specifics of compiling your host-language code. However, there are several special rules for SQL programs, depending on the host language, that you must follow:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]