473,395 Members | 1,986 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

-101 on alter table statement

Hi,
I get an implicit -101 on an alter table statement on changing the length of
one column

ALTER TABLE XTRADE.LIEFERANT ALTER COLUMN ZENTRALE_NUMMER SET DATA TYPE
VARCHAR(13)
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0727N An error occurred during implicit system action type "3".
Information returned for the error includes SQLCODE "-101", SQLSTATE "54001"
and message tokens "". SQLSTATE=56098

In db2diag.log I find:
2005-06-02-18.56.15.877370+120 I1661944A506 LEVEL: Error
PID : 372976 TID : 1 PROC : db2agent (XTRADE) 0
INSTANCE: db2xtest NODE : 000 DB : XTRADE
APPHDL : 0-240 APPID: *LOCAL.db2xtest.050602165614
MESSAGE : SQLRL_REGEN_VIEW: Failure in regenerating view
DATA #1 : Hexdump, 20 bytes
0x0FFFFFFFFFFE9220 : 5844 455A 2E42 4856 5F46 4150 474C 5F54
XDEZ.BHV_FAPGL_T
0x0FFFFFFFFFFE9230 : 4C5F 4457 L_DW
I tried to increase Statement heap to its limt but it didnt help.
Is there a way to run the statement without explicitly dropping and
recreating the views?

Thanks
Klemens

Nov 12 '05 #1
3 6757
Klemens wrote:
Hi,
I get an implicit -101 on an alter table statement on changing the length of
one column

ALTER TABLE XTRADE.LIEFERANT ALTER COLUMN ZENTRALE_NUMMER SET DATA TYPE
VARCHAR(13)
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0727N An error occurred during implicit system action type "3".
Information returned for the error includes SQLCODE "-101", SQLSTATE "54001"
and message tokens "". SQLSTATE=56098

In db2diag.log I find:
2005-06-02-18.56.15.877370+120 I1661944A506 LEVEL: Error
PID : 372976 TID : 1 PROC : db2agent (XTRADE) 0
INSTANCE: db2xtest NODE : 000 DB : XTRADE
APPHDL : 0-240 APPID: *LOCAL.db2xtest.050602165614
MESSAGE : SQLRL_REGEN_VIEW: Failure in regenerating view
DATA #1 : Hexdump, 20 bytes
0x0FFFFFFFFFFE9220 : 5844 455A 2E42 4856 5F46 4150 474C 5F54
XDEZ.BHV_FAPGL_T
0x0FFFFFFFFFFE9230 : 4C5F 4457 L_DW
I tried to increase Statement heap to its limt but it didnt help.
Is there a way to run the statement without explicitly dropping and
recreating the views?

Thanks
Klemens

Which Release, fixpack are you on? This looks like IY45270
http://www.ibm.com/Search/?q=IY45270...&Search=Search

--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #2
DB21085I Instance "db2xtest" uses "64" bits and DB2 code release "SQL08020"
with level identifier "03010106".
Informational tokens are "DB2 v8.1.1.64", "special_13197", "U498350_13197",
and
FixPak "7".
Product is installed at "/usr/opt/db2_08_01".

Seems to be a similar but not the same problem as I am on FP7 and the apar
should be fixed since FP4.

Thanks
Klemens

"Serge Rielau" <sr*****@ca.ibm.com> schrieb im Newsbeitrag
news:3g************@individual.net...
Klemens wrote:
Hi,
I get an implicit -101 on an alter table statement on changing the length of one column

ALTER TABLE XTRADE.LIEFERANT ALTER COLUMN ZENTRALE_NUMMER SET DATA TYPE
VARCHAR(13)
DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned: SQL0727N An error occurred during implicit system action type "3".
Information returned for the error includes SQLCODE "-101", SQLSTATE "54001" and message tokens "". SQLSTATE=56098

In db2diag.log I find:
2005-06-02-18.56.15.877370+120 I1661944A506 LEVEL: Error
PID : 372976 TID : 1 PROC : db2agent (XTRADE) 0 INSTANCE: db2xtest NODE : 000 DB : XTRADE
APPHDL : 0-240 APPID: *LOCAL.db2xtest.050602165614
MESSAGE : SQLRL_REGEN_VIEW: Failure in regenerating view
DATA #1 : Hexdump, 20 bytes
0x0FFFFFFFFFFE9220 : 5844 455A 2E42 4856 5F46 4150 474C 5F54
XDEZ.BHV_FAPGL_T
0x0FFFFFFFFFFE9230 : 4C5F 4457 L_DW
I tried to increase Statement heap to its limt but it didnt help.
Is there a way to run the statement without explicitly dropping and
recreating the views?

Thanks
Klemens Which Release, fixpack are you on? This looks like IY45270

http://www.ibm.com/Search/?q=IY45270....x=0&Search.y=
0&Search=Search
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab

Nov 12 '05 #3
Klemens wrote:
DB21085I Instance "db2xtest" uses "64" bits and DB2 code release "SQL08020"
with level identifier "03010106".
Informational tokens are "DB2 v8.1.1.64", "special_13197", "U498350_13197",
and
FixPak "7".
Product is installed at "/usr/opt/db2_08_01".

Seems to be a similar but not the same problem as I am on FP7 and the apar
should be fixed since FP4.

In this case I recommend opening a PMR.
Support will need a db2look to repro the view dependencies on the table

Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dylan Nicholson | last post by:
Seems that Oracle 9.2 (using MS ODBC driver) requires extra parentheses when adding multiple columns to a table: ALTER TABLE MyTable ADD (MyColumn1 VARCHAR(255), MyColumn2 VARCHAR(255)) vs ...
0
by: Adam Fortuno | last post by:
Was in the midst of doing something today and I attempted to drop a number of columns in a table with the following: ALTER TABLE tmp DROP COLUMN col_1, col_2, col_3, col_4; Unfortunately MySQL...
7
by: Jon Combe | last post by:
I have created the following test SQL code to illustrate a real problem I have with some SQL code. CREATE TABLE JCTable ( CustomerName varchar(50) ) ALTER TABLE JCTable ADD CustomerNo int...
5
by: Mike L | last post by:
Hello all I'm trying to migrate a BE from Access to SQL Server. I've been making changes to the Access BE from the FE with SQL statements, and want to do the same with the BE in SQL Server. ...
3
by: moskie | last post by:
Is there a way to run an alter table statement that adds a constraint for a foreign key, but does *not* check the existing data for refrential integrity? I'm essentially looking for the equivalent...
1
by: vasilip | last post by:
I'm testing out db2 for a project I'm starting that requires proper xml support and I can't seem to get both xml and spatial data to work well in the same table. Once having created a table...
1
by: Rahul Babbar | last post by:
Hi, I ran the scripts in a file from Command Line Processor and it gave the error for all the constraints being added, but not the indexes being added. For a simple statement like Alter...
4
by: ahmed222too | last post by:
when i use this quary to add new column, the engine reject the table name and focus on (-) in the table name alter table AH10-A1*1*1-101006 add column sss note: this schema of table name...
4
by: JenavaS | last post by:
I am trying to create a macro to change a data type in a column. The table was created using a "make-table" query, and the column(s) I want to modify were created using a calculation in my query. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.