Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Do we need a rebind?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
baljinders

New User


Joined: 21 Aug 2006
Posts: 72

PostPosted: Fri Jul 02, 2010 11:08 pm    Post subject: Do we need a rebind?
Reply with quote

There was a cobol db2 program that was running very slow while selecting records for a given condition. Analysis suggested creation of a new index. After creating a new index, do we need to rebind the program, or the program would use the new index at the time of select?
Back to top
View user's profile Send private message

daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 683
Location: Pennsylvania

PostPosted: Fri Jul 02, 2010 11:14 pm    Post subject:
Reply with quote

It depends how the initial bind was done (value of REOPT parameter).

It would be safest to Bind the package again.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Should we Rebind Plan if no SQL changes sappy_mf DB2 2 Thu Mar 03, 2016 2:13 pm
No new posts Rebind package not working as intended Abhinav Chandra DB2 10 Tue Oct 01, 2013 7:24 pm
No new posts Is Rebind required for dynamic SQL Co... Furor DB2 1 Thu Sep 19, 2013 9:35 am
No new posts Rebind issue gylbharat DB2 11 Wed Apr 24, 2013 7:59 pm
No new posts Is it mandatory to Rebind after we pe... Furor DB2 1 Fri Mar 01, 2013 2:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us