MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help on Reorg

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
dubasir
Beginner


Joined: 13 Dec 2004
Posts: 20
Topics: 9

PostPosted: Mon Jul 19, 2010 12:03 am    Post subject: Help on Reorg Reply with quote

Hi,

Do i need to bind the program everytime when reorg is executed on a table that is used in the program.

In development region i have to bind the program whenever reorg is executed. Is this the same in production region as well. Please suggest.




Thanks in advance,
Ramki
Back to top
View user's profile Send private message
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Mon Jul 19, 2010 3:34 am    Post subject: Reply with quote

If the characteristics of your data has changed "significantly", you are advised to recreate the access path to the data.

For this you don't have to do a BIND (i.e. with the DBRM as input create a new DB2 package), but you can do a REBIND. This skips the validation phase of the BIND and simply creates a new package out of the contents of the DB2 catalog, means the saved SQL statements of your module in the table SYSSTMT.

regards
Christian
Back to top
View user's profile Send private message
jsharon1248
Intermediate


Joined: 08 Aug 2007
Posts: 291
Topics: 2
Location: Chicago

PostPosted: Mon Jul 19, 2010 8:11 am    Post subject: Reply with quote

Runstats. Don't forget the Runstats after the Reorg.

A Bind is recommended after Reorgs and Runstats, but not required. Your Package would continue to use the existing access path if you didn't Bind or Rebind.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group