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

In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

846


How will you return the number of records in table?

702


How to find the number of rows in db2 tables?

803


How do I add a column to a table in db2?

838


What os does db2 run on?

749


what is a corelated subquerry?

834


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

982


How can record locking be achieved in those DB2 versions which do not support it?

832


How to find the number of rows in a db2 table?

848


What is collection in db2 bind?

770


What is sqlca?

810


What is the use of runstats in db2?

792


Are views updateable?

834


Define predicate?

861


Is it possible using max on a char column?

844