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

Do we need a rebind?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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: 792
Location: Pennsylvania

PostPosted: Fri Jul 02, 2010 11:14 pm
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 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 Should we Rebind Plan if no SQL changes DB2 2
No new posts Rebind package not working as intended DB2 10
No new posts Is Rebind required for dynamic SQL Co... DB2 1
No new posts Rebind issue DB2 11
Search our Forums:

Back to Top