why should we bind the DB2 program . What if we did not
BIND a BD2 program ??

Answer Posted / sk

during compilation of a DB2 program. The host language (eg
COBOL) code and SQL code will be separated.
The SQL codes will be processed and optimised access path
will be generated; the path forms the plan.
The host code will be compiled with its own host compiler
and the executable code will be generated.
The BIND step binds both the executable codes of SQL and
host language; the outcome is the final executable code.
Without bind a DB2 program will not execute.

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to execute stored procedures?

836


Who uses db2?

759


What is a db2 table?

760


What is the use of value function?

838


Is it possible to create an Instance in DB2 using DB2 Control Center ?

838


What is the maximum number of columns in a db2 table?

977


Why cursor is used in db2?

760


What is the information associated with sysibm.syslinks table?

871


Which isolation level provides maximum concurrency?

895


How can tablespace be moved to another dasd volume that is allocated for that tablespace?

962


Why db2 is called db2?

764


Mention some fields that are a part of sqlca.

782


Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

2104


What is a bind in db2?

768


What are the different types of base tables?

767