If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Questions related to Invalid Packages !!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-25-04, 03:17
trinmoy trinmoy is offline
Registered User
 
Join Date: Nov 2003
Location: kualaumpur
Posts: 33
Question Questions related to Invalid Packages !!

Dear All,

I have created few Stored Proc's which have internally created db2 packages ,
this packages needed to be granted execute permission/s if the sp's are called by any other users (also the SP's to be granted permissions).

I have noted that some times this packages become invalid and I need to apply 'rebind' when its cannot accessable by the user.

My question is , in what are the possible circumstances this packages become invalid? (do dropping a constraints for a table (used by sp and packages )
can be one of the reason ? )

Require all of ur view/s in this regard.


TIA

Trinmoy
Reply With Quote
  #2 (permalink)  
Old 06-25-04, 03:35
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
If any dependencies of the package are dropped or changed, the package will be marked as invalid. An invalid package will automatically have a rebind performed by DB2 the next time the package is executed. If the rebind fails again (during the automatic rebind), the package will be marked as inoperative, and an explicit rebind will be necessary.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On