IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Bind and Rebind


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srilata83

New User


Joined: 02 Apr 2009
Posts: 16
Location: chennai

PostPosted: Wed Apr 22, 2009 6:06 pm
Reply with quote

Hi All,
Can anyone tell me what is bind and rebind in DB2 ?As someone told me Bind has to done from the beginning so as to generate a new timestamp and it generally done when there is any changes made in cobol program.
but when rebind has to done?can anyone tell me the scenario when we have to go for rebind instead of bind.
i was checking for the plans whether the binding has done for this or not, then i found many plans are not bound.what shud we go for in this case, BIND or REBIND?
If there is no changes made in cobol program then shall we go for Rebind, but why?

Please clarify my doubts and correct me if my understanding is wrong about this concept.

Thanks in advance.
Back to top
View user's profile Send private message
ashimer

Active Member


Joined: 13 Feb 2004
Posts: 551
Location: Bangalore

PostPosted: Wed Apr 22, 2009 7:36 pm
Reply with quote

ibmmainframes.com/viewtopic.php?t=23965
Back to top
View user's profile Send private message
ashishsr123

New User


Joined: 06 May 2008
Posts: 33
Location: Chennai

PostPosted: Wed Apr 22, 2009 10:50 pm
Reply with quote

Quote:
If there is no changes made in cobol program then shall we go for Rebind, but why?


Rebind will reassess the optimized access paths and if required choose some other access path.
This will be done when, there has been lot of insertion & Deletions in the Database . This generally happens over long period of time.
Whenever you will RE0RG database then also you will use it.

That's what I think.
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Thu Apr 23, 2009 12:57 am
Reply with quote

Hi srilata83

It is better to go through the link and read the manual as ashimer replied, because there has been a lot of things to know about BIND and REBIND.
If you have doubts after reading the IBM manual, post your doubts. Someone will clear it.

Regards
Raghu
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Rebind issue - Package DB2 2
No new posts JCL for pl1 db2 precompile, compile a... JCL & VSAM 4
No new posts Bind process DB2 4
No new posts How syntax check at Bind time is diff... DB2 5
No new posts VALIDATE option in BIND jcl DB2 2
Search our Forums:

Back to Top