🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ibm.software.db2.mvs
Article #7

Re: How to resolve slqerror -1424 too many references to transitionvariables and transition table columns or the row....

#7
From: Andreas Lederer
Date: Mon, 14 Oct 2002 10:23
46 lines
3049 bytes
Andreas Lederer schrieb:
> PM (pm3iinc-nospam) schrieb:
> 
>> My gut feeling (bow in the dark)
>>
>> DDL of GTS03.TG_SYNCTESTGCT can't fit the Command column vs 
>> varchar(3000).
>> or
>>  try the tec_synca1 in a 32k TS.
>>
> 
> The definition of the command column in GCT is long varchar and there 
> are no problems when i use a trigger like:
> 
> CREATE TRIGGER GTS03.TG_U_GTS03_TEC0003 AFTER UPDATE ON GTS03.TEC_SYNCA1 
> REFERENCING OLD AS OLD NEW AS NEW  FOR EACH ROW MODE DB2SQL   INSERT 
> INTO GTS03.TG_SYNCTESTGCT (tabname, command, retkey, commitet, fetched) 
> VALUES ('GTS03.TEC_SYNCA1',new.A_VARCHAR || new.A_VARCHAR,0,0,0);
> 
> but when i use
> 
> CREATE TRIGGER GTS03.TG_U_GTS03_TEC0003 AFTER UPDATE ON GTS03.TEC_SYNCA1 
> REFERENCING OLD AS OLD NEW AS NEW  FOR EACH ROW MODE DB2SQL   INSERT 
> INTO GTS03.TG_SYNCTESTGCT (tabname, command, retkey, commitet, fetched) 
> VALUES ('GTS03.TEC_SYNCA1',new.A_VARCHAR || old.A_VARCHAR,0,0,0);
> 
> i get the same error message as in my first posting.
> 
> tec_synca1 is only a testtable. i know that it will work if i move it to
> a 8k tablespace but this can't be done with the tables i use in production.
> 
> the question is why db2 limits the size of transition variables to the 
> size of the tec_synca1 ts.
> 
> is there a solution to bypass this limitation??
> 
> thanks
> andreas lederer
> 
i think i have found the solution for the problem: the table 
TG_SYNCTESTGCT resides in a 32k tablespace but there was no 32k temp 
tablespace. after generating a 32k temp tablespace i can create the 
triggers above.

thanks
andreas lederer
Technical Details
Message-ID: <3daa9b3e@e-post.inode.at>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!news.osn.de!newsfeed.completel.de!newsfeed.stueberl.de!news.salzburg-online.at!newsfeed01.univie.ac.at!e-post.inode.at!not-for-mail
References: <3da6c1d4$1@e-post.inode.at> <QfCp9.20123$ZO1.1245738@news20.bellglobal.com> <3DAA95F5.7050107@tecco.at>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10da59,be16106c701a8ac5
X-Google-Attributes: gid10da59,public
X-Google-Thread: f675e,be16106c701a8ac5
X-Google-Attributes: gidf675e,public
X-Google-Thread: 10f47b,be16106c701a8ac5
X-Google-Attributes: gid10f47b,public
X-Google-ArrivalTime: 2002-10-14 03:23:44 PST
Date: Mon, 14 Oct 2002 12:23:41 +0200
From: Andreas Lederer <andreas@tecco.at>
Reply-To:  Andreas.Lederer@tecco.at
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.1) Gecko/20020826
X-Accept-Language: German/Austria, de-AU, en
MIME-Version: 1.0
Newsgroups: ibm.software.db2.mvs,comp.databases.ibm-db2,bit.listserv.db2-l
Subject: Re: How to resolve slqerror -1424 too many references to transitionvariables
 and transition table columns or the row....
References: <3da6c1d4$1@e-post.inode.at> <QfCp9.20123$ZO1.1245738@news20.bellglobal.com> <3DAA95F5.7050107@tecco.at>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.99.185.90
Message-ID: <3daa9b3e@e-post.inode.at>
X-Trace: e-post.inode.at 1034591038 62.99.185.90 (14 Oct 2002 12:23:58 +0200)
Lines: 47
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!news.osn.de!newsfeed.completel.de!newsfeed.stueberl.de!news.salzburg-online.at!newsfeed01.univie.ac.at!e-post.inode.at!not-for-mail