The DB2 pre compiler is run first before compiling the COBOL code. The DB2 precompiler seperates the SQL statements from the COBOL program and puts them in DBRM(DataBase Request Module). The DB2 precompiler adds the Consistency token(timestamp) to the DBRM. DB2 Precompiler also checks for the SYNTAX errors in the SQL statements. The remaining Non SQL statements are then compiled. The compiled code is Link-edited to create the Load module.