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

When does a package becomes INVALID in the sysibm.syspackage


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

New User


Joined: 09 Apr 2008
Posts: 83
Location: Chennai

PostPosted: Tue Feb 10, 2009 12:25 pm
Reply with quote

Hi,
I wanted to know when does a package becomes INVALID (VALID='N') and Inoperative (OPERATIVE='N') in the sysibm.syspackage table?
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Tue Feb 10, 2009 1:53 pm
Reply with quote

When a privilege that is required by a plan or package is revoked, the plan or package is invalidated.

If an index is dropped that is used by a package, that is marked as invalid.

When an invalid package is executed, DB2 does an automatic rebind so that DB2 can determine a new access path. If the rebind fails (for example, if a referenced table, view or column is missing) the package is marked as inoperative.
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Tue Feb 10, 2009 1:59 pm
Reply with quote

Here it is,

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db29.doc.admin/db2z_invalidinoperativeplanpackage.htm
Back to top
View user's profile Send private message
rahuindo

New User


Joined: 09 Apr 2008
Posts: 83
Location: Chennai

PostPosted: Tue Feb 10, 2009 2:07 pm
Reply with quote

Thanks a lot..that was quite informative.. icon_biggrin.gif
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 Invalid URL in Sticky topic TSO/ISPF 1
No new posts Rebind issue - Package DB2 2
No new posts Discrepancy b/w SYSIBM tables and BMC... DB2 0
No new posts SYSIBM Tables Query DB2 8
No new posts Column names in SYSIBM tables DB2 5
Search our Forums:

Back to Top