Bind concepts in DB2 cobol
Answer Posted / suresh ramaiyan
As Sharath requested...
As we all know, all our programming(high level language) needs to be converted(compiled) into system-understandable(low level language) to be executed.
So, SQL statements in the COBOL programs needs to be compiled, such process is called BIND. DB2 Bind compiles all your sql statements(dbrm) into an executable format.
BIND also verifies all the information in the program with DB2 databases..
Here are the list of items happening through out BIND process (as of I know :) )
1. Syntax check of SQL query
2. Availability of Tables & columns in the database
3. It uses DB2 Optimizer to create the better access path. A clear way to read/update/delete table. like.. what are the columns are reading, which indexes needs to be used, the table space..etc.
So after BIND process finished, the Package/Plan contains exactly how to do, what we meant to do in system understandable language.
Hope it helps.. My apologies, if I confused or missed something.
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is commit in db2?
What is copy pending and check pending in db2?
Are view updateable?
What is explain plan in db2?
If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?
What kind of database is db2?
What is page size in db2?
What does db2 stand for?
what is db2 restart?
What are bind parameters in db2?
What is cursor in dbms?
What is ibm db2 client?
What is a db2 cursor?
How to take backup of table in db2?
What does a deadlock mean in DB2?