| |
GeekInterview.com > Interview Questions > Mainframe > DB2
| Print | |
Question: db2 pre-compiler
Answer: what is a db2 precompiler? |
| August 08, 2008 04:55:12 |
#2 |
| ragavprasanna |
Member Since: August 2008 Total Comments: 3 |
RE: db2 pre-compiler |
When a Cobol program contains any embedded SQL statements the pre-compiler separates the non-Cobol statements and the Cobol statements separately, then the pre-compilation process begins. The non-cobol (SQL) statements are stored as a member of the pds called DBRM, then the bind process begins, which checks for any syntax errors in SQL statement and then creates the plan or packages as per the installation defines. plan -> group of packages makes a plan. It is nothing but the executables (load module) of the program, then the
Cobol statements load module is stored separately but before execution the two load modules are combined and then executed. |
| |
Back To Question | |