The correct answer is "It depends." For interpreted languages like REXX, there is no pre-compile because all SQL is dynamic. For compiled languages, it depends on whether you're using the SQL language through EXEC-SQL, in which case it builds a call library that links at runtime. If you're doing everything by accessing DB2 by passing the SQL in a direct CALL statement, there is also no pre-compile because it's dynamic.