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

Answer Posted / harish

ACTUALLY BIND PLAN CONSISTS OF DBRM SO IN DB2 WE NEED TO
CREATE UNIQUE PLAN NAME TO GET EXECTABLE LOAD MODULE AND
DURING RUN PROG WE NEED TO GIVE PLANNAME AND MODIFIED
SOURCE LIB .

IF WE DIDNOT BIND WE WILL GET -805 ERROR I,E PROG NAME OR
DBRM NOT FOUND IN PLAN

SUPPOSE IF YOU MADE ANY CHANGES IN ANY PROGRAM THEN COMPILE
AND BIND PACKAGE ,BIND PLAN .SUPPOSE IF U DONE EVERYTING
AND FORGOT TO BIND IN THAT CASE YOU WILL GET -818 ERROR I,E
TIMESTAMP ERROR...

pls let me know if u have any queries

HARISH POOMGAME SHIVAPPA
NIIT TECHNOLOGY
KOLKATA

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the sqlcode -501

11705


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

819


Explain about rct in db2?

749


What is explain plan in db2?

671


List down the data types in the db2 database.

716






How is the value function used?

712


List some fields from sqlca?

682


What is sqlca?

701


Explain in brief how does db2 determine what lock-size to use?

673


Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

733


What is the max length of sqlca?

836


Is db2 a database?

652


Before you give the explain statement, what are the prerogatives?

650


Mention the length of physical storage of the given data types of db2 – date, timestamp, time

675


What is innodb buffer pool?

640