Bind process

What happens during pre-compilation and finally bind process?

Questions by prasenjit_in   answers by prasenjit_in

Showing Answers 1 - 12 of 12 Answers

Pre-compilation---> Pre compiler check's the program for any embedded sql statements if found than separates them into a DBRM and an object module is formed for the host language to be compiled by the compiler.....On the otherhand the DBRM that is formed is either binded into a package or a plan to form an effective application plan....Now when the program that had embedded sql-statements is finally run than,for each of the sql statements a call is made to the corresponding table using the application plan which had the optimised accesss logic.Remember in programs with embeded sql-statements at run-time a thread is created between the program and the table it tries to access!

naga1126

  • Jun 16th, 2010
 

Bind process is mainly for two processes:
1. To syntax check the Query (To see the Columns and tables referred are actually present etc. )
2. To find the efficient access path.

Result of Bind is an Executable form of the DBRM.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions