DB2 V8, ZOS 1.10: Unable to drop trigger

William Proctor

DB2 V8, ZOS 1.10: Unable to drop trigger
Thanks for all replies in advance. We have a trigger that is getting -805's and when we look there is no package in the catalog but we do have a definition in SYSTRIGGERS. We cannot rebind (or drop) to create the package because the system say's it doesn't exist. We cannot recreate the trigger because the system says that it already exist. I'm sure that there is a simple fix to this but it has eluded us all afternoon. Can someone tell me what we are missing here?

Bill Proctor
DB2 DBA
DB2 UDB V9 Database Administration for Z/OS
TG
Round Rock, TX 78683-3100
(800) 252-9743, ext. 4847
www.tgslc.org





_____________________________________________________________________

* IDUG North America * Tampa, Florida, * May 10-14 2010 * http://IDUG.ORG/NA *
** Your only source for independent, unbiased, and trusted DB2 information.

_____________________________________________________________________
http://www.IDUG.org/mentor
How can you expand your staff or do succession planning in this economy?
Mentoring is a proven, economical, way to train the next generation of DB2 Users!
_____________________________________________________________________

If you need to change settings, http://www.idug.org/cgi-bin/wa?A0=DB2-L is the home of IDUG's DB2-L

Francis Leblanc

Re: DB2 V8, ZOS 1.10: Unable to drop trigger
(in response to William Proctor)
When you issue the FREE command you need to specifically identify the package as belonging to a trigger.

Try FREE TRIGGER PACKAGE name (Not sure about this... it's been a long time.)
Or REBIND TRIGGER PACKAGE

From: IDUG DB2-L [mailto:[login to unmask email] On Behalf Of Proctor, William
Sent: Monday, February 08, 2010 4:51 PM
To: [login to unmask email]
Subject: [DB2-L] DB2 V8, ZOS 1.10: Unable to drop trigger

Thanks for all replies in advance. We have a trigger that is getting -805's and when we look there is no package in the catalog but we do have a definition in SYSTRIGGERS. We cannot rebind (or drop) to create the package because the system say's it doesn't exist. We cannot recreate the trigger because the system says that it already exist. I'm sure that there is a simple fix to this but it has eluded us all afternoon. Can someone tell me what we are missing here?

Bill Proctor
DB2 DBA
DB2 UDB V9 Database Administration for Z/OS
TG
Round Rock, TX 78683-3100
(800) 252-9743, ext. 4847
www.tgslc.org





This E-Mail has been scanned for viruses.

________________________________

[ http://www.idug.org/partners/www/images/4992e0ad2d01c9c12dd8a4e7a161cd08.gif ] < http://www.idug.org/top-spotlight/mentor.html >

The IDUG DB2-L Listserv is only part of your membership in IDUG. If you are not already an IDUG member, please register here. < http://www.idug.org/register >

_____________________________________________________________________

* IDUG North America * Tampa, Florida, * May 10-14 2010 * http://IDUG.ORG/NA *
** Your only source for independent, unbiased, and trusted DB2 information.

_____________________________________________________________________
http://www.IDUG.org/mentor
How can you expand your staff or do succession planning in this economy?
Mentoring is a proven, economical, way to train the next generation of DB2 Users!
_____________________________________________________________________

If you need to change settings, http://www.idug.org/cgi-bin/wa?A0=DB2-L is the home of IDUG's DB2-L

Darsh Mann

Re: DB2 V8, ZOS 1.10: Unable to drop trigger
(in response to Francis Leblanc)
Take a look at the following problem tickets at IBM site to see if they apply to your situation:

Record 41918,122,000
Record 40862,122,000

From: IDUG DB2-L [mailto:[login to unmask email] On Behalf Of Leblanc, Fritz
Sent: Monday, February 08, 2010 5:08 PM
To: [login to unmask email]
Subject: Re: [DB2-L] DB2 V8, ZOS 1.10: Unable to drop trigger

When you issue the FREE command you need to specifically identify the package as belonging to a trigger.

Try FREE TRIGGER PACKAGE name (Not sure about this... it's been a long time.)
Or REBIND TRIGGER PACKAGE

From: IDUG DB2-L [mailto:[login to unmask email] On Behalf Of Proctor, William
Sent: Monday, February 08, 2010 4:51 PM
To: [login to unmask email]
Subject: [DB2-L] DB2 V8, ZOS 1.10: Unable to drop trigger

Thanks for all replies in advance. We have a trigger that is getting -805's and when we look there is no package in the catalog but we do have a definition in SYSTRIGGERS. We cannot rebind (or drop) to create the package because the system say's it doesn't exist. We cannot recreate the trigger because the system says that it already exist. I'm sure that there is a simple fix to this but it has eluded us all afternoon. Can someone tell me what we are missing here?

Bill Proctor
DB2 DBA
DB2 UDB V9 Database Administration for Z/OS
TG
Round Rock, TX 78683-3100
(800) 252-9743, ext. 4847
www.tgslc.org





This E-Mail has been scanned for viruses.

________________________________

[cid:~WRD000.jpg ] < http://www.idug.org/top-spotlight/mentor.html >

The IDUG DB2-L Listserv is only part of your membership in IDUG. If you are not already an IDUG member, please register here. < http://www.idug.org/register >

This E-Mail has been scanned for viruses.

________________________________

[cid:~WRD000.jpg ] < http://www.idug.org/top-spotlight/mentor.html >

The IDUG DB2-L Listserv is only part of your membership in IDUG. If you are not already an IDUG member, please register here. < http://www.idug.org/register >

_____________________________________________________________________

* IDUG North America * Tampa, Florida, * May 10-14 2010 * http://IDUG.ORG/NA *
** Your only source for independent, unbiased, and trusted DB2 information.

_____________________________________________________________________
http://www.IDUG.org/mentor
How can you expand your staff or do succession planning in this economy?
Mentoring is a proven, economical, way to train the next generation of DB2 Users!
_____________________________________________________________________

If you need to change settings, http://www.idug.org/cgi-bin/wa?A0=DB2-L is the home of IDUG's DB2-L

Roger Hecq

Re: DB2 V8, ZOS 1.10: Unable to drop trigger
(in response to Darsh Mann)
As I replied to someone else a few weeks ago, this is a known problem
and I do not recall if there is a PTF for it yet. We experienced the
problem a good year ago. The IOBM proposed solution was to bring up DB2
in catalog update mode (ZParm change), delete the debris, and then bring
DB2 back up in normal mode. Certainly, neither an elegant nor
non-disruptive solution.

Roger Hecq
MF IB USA DB Support
203-719-0492 / 19-337-0492



________________________________

From: IDUG DB2-L [mailto:[login to unmask email] On Behalf Of Proctor,
William
Sent: Monday, February 08, 2010 4:51 PM
To: [login to unmask email]
Subject: [DB2-L] DB2 V8, ZOS 1.10: Unable to drop trigger



Thanks for all replies in advance. We have a trigger that is getting
-805's and when we look there is no package in the catalog but we do
have a definition in SYSTRIGGERS. We cannot rebind (or drop) to create
the package because the system say's it doesn't exist. We cannot
recreate the trigger because the system says that it already exist. I'm
sure that there is a simple fix to this but it has eluded us all
afternoon. Can someone tell me what we are missing here?



Bill Proctor

DB2 DBA

DB2 UDB V9 Database Administration for Z/OS

TG

Round Rock, TX 78683-3100

(800) 252-9743, ext. 4847

www.tgslc.org










________________________________

IDUG Mentors - A rewarding experience for everyone!
< http://www.idug.org/top-spotlight/mentor.html >

The IDUG DB2-L Listserv is only part of your membership in IDUG. If you
are not already an IDUG member, please register here.
< http://www.idug.org/register >


_____________________________________________________________________

* IDUG North America * Tampa, Florida, * May 10-14 2010 * http://IDUG.ORG/NA *
** If you are going to attend only one conference this year, this is it!

_____________________________________________________________________
http://www.IDUG.org/mentor
Mentoring should be a rewarding experience for everyone...
IDUG is offering up to $1600 off when you both come to the conference!
_____________________________________________________________________

If you need to change settings, http://www.idug.org/cgi-bin/wa?A0=DB2-L is the home of IDUG's DB2-L

Phil Grainger

Re: DB2 V8, ZOS 1.10: Unable to drop trigger
(in response to Roger Hecq)
Just a thought, and I am not totally sure of the links in the catalog
between a trigger and it's package, BUT have you tried binding a package
(ANY package) with the same name as the trigger and THEN try dropping
thetrigger?



Phil Grainger

Grainger Database Solutions Ltd



[login to unmask email]

+44 (0)1298 872148

+44 (0)7505 266768



www.graingerdatabasesolutions.com



From: IDUG DB2-L [mailto:[login to unmask email] On Behalf Of Roger Hecq
Sent: 09 February 2010 12:46
To: [login to unmask email]
Subject: Re: [DB2-L] DB2 V8, ZOS 1.10: Unable to drop trigger



As I replied to someone else a few weeks ago, this is a known problem and I
do not recall if there is a PTF for it yet. We experienced the problem a
good year ago. The IOBM proposed solution was to bring up DB2 in catalog
update mode (ZParm change), delete the debris, and then bring DB2 back up in
normal mode. Certainly, neither an elegant nor non-disruptive solution.

Roger Hecq
MF IB USA DB Support
203-719-0492 / 19-337-0492





_____

From: IDUG DB2-L [mailto:[login to unmask email] On Behalf Of Proctor, William
Sent: Monday, February 08, 2010 4:51 PM
To: [login to unmask email]
Subject: [DB2-L] DB2 V8, ZOS 1.10: Unable to drop trigger

Thanks for all replies in advance. We have a trigger that is getting -805's
and when we look there is no package in the catalog but we do have a
definition in SYSTRIGGERS. We cannot rebind (or drop) to create the package
because the system say's it doesn't exist. We cannot recreate the trigger
because the system says that it already exist. I'm sure that there is a
simple fix to this but it has eluded us all afternoon. Can someone tell me
what we are missing here?



Bill Proctor

DB2 DBA

DB2 UDB V9 Database Administration for Z/OS

TG

Round Rock, TX 78683-3100

(800) 252-9743, ext. 4847

www.tgslc.org











_____

< http://www.idug.org/top-spotlight/mentor.html > Image removed by sender.
IDUG Mentors - A rewarding experience for everyone!

The IDUG DB2-L Listserv is only part of your membership in IDUG. If you are
not already an IDUG member, please register here.
< http://www.idug.org/register >



_____

< http://www.idug.org/top-spotlight/mentor.html > Image removed by sender.
IDUG Mentors - A rewarding experience for everyone!

The IDUG DB2-L Listserv is only part of your membership in IDUG. If you are
not already an IDUG member, please < http://www.idug.org/register > register
here.


_____________________________________________________________________

* IDUG North America * Tampa, Florida, * May 10-14 2010 * http://IDUG.ORG/NA *
** If you are going to attend only one conference this year, this is it!

_____________________________________________________________________
http://www.IDUG.org/mentor
Mentoring should be a rewarding experience for everyone...
IDUG is offering up to $1600 off when you both come to the conference!
_____________________________________________________________________

If you need to change settings, http://www.idug.org/cgi-bin/wa?A0=DB2-L is the home of IDUG's DB2-L