 |
|
 |
|
Next: Data type question
|
| Author |
Message |
External

Since: Mar 27, 2006 Posts: 7
|
(Msg. 1) Posted: Fri Mar 31, 2006 8:55 am
Post subject: Control Center Error Archived from groups: comp>databases>ibm-db2 (more info?)
|
|
|
Hi all,
I have a problem when I try to open the tables list on a database.
I work with 8.2.0 Enterprise Edition.
The control center return this error:
[IBM][CLI Driver][DB2/NT] SQL0104N E' stato trovato un token "SELECT
TabSchema, Tabname, Type, T" non previsto dopo "BEGIN-OF-STATEMENT". I token
previsti possono comprendere: "<query_expr_top>". SQLSTATE=42601
In english sounds like "an invalidi token "SELECT TabSchema, Tabname, Type,
T" is found after "BEGIN-OF-STATEMENT". The correct token can be
"<query_expr_top>". SQLSTATE=42601
Can you help me??
Thanks >> Stay informed about: Control Center Error |
|
| Back to top |
|
 |  |
External

Since: Oct 04, 2004 Posts: 852
|
(Msg. 2) Posted: Fri Mar 31, 2006 8:55 am
Post subject: Re: Control Center Error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
scoffer wrote:
> Hi all,
>
> I have a problem when I try to open the tables list on a database.
> I work with 8.2.0 Enterprise Edition.
>
> The control center return this error:
>
> [IBM][CLI Driver][DB2/NT] SQL0104N E' stato trovato un token "SELECT
> TabSchema, Tabname, Type, T" non previsto dopo "BEGIN-OF-STATEMENT". I token
> previsti possono comprendere: "<query_expr_top>". SQLSTATE=42601
>
> In english sounds like "an invalidi token "SELECT TabSchema, Tabname, Type,
> T" is found after "BEGIN-OF-STATEMENT". The correct token can be
> "<query_expr_top>". SQLSTATE=42601
Please post the failing statement as well.
Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab >> Stay informed about: Control Center Error |
|
| Back to top |
|
 |  |
External

Since: Mar 27, 2006 Posts: 7
|
(Msg. 3) Posted: Fri Mar 31, 2006 11:55 am
Post subject: Re: Control Center Error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
The SQL that the control center try to execute is:
SELECT TabSchema, TabName, Type, TBSpace, INDEX_TBSPACE, LONG_TBSPACE,
DataCapture, Definer, Remarks FROM SYSCAT.Tables WHERE Type in
('T','S','U','H') ORDER BY TabName FOR FETCH ONLY WITH UR
If i try to execute it from command center the sql runs without problem.
If I open the same database with a control center installed on another
machine i don't receive the error.
Is very strange, but I can't reinstall the DB2 'cause I have a database that
have a dimension of 100GByte!!
Do you have an idea??
"Serge Rielau" ha scritto nel messaggio
> scoffer wrote:
>> Hi all,
>>
>> I have a problem when I try to open the tables list on a database.
>> I work with 8.2.0 Enterprise Edition.
>>
>> The control center return this error:
>>
>> [IBM][CLI Driver][DB2/NT] SQL0104N E' stato trovato un token "SELECT
>> TabSchema, Tabname, Type, T" non previsto dopo "BEGIN-OF-STATEMENT". I
>> token previsti possono comprendere: "<query_expr_top>". SQLSTATE=42601
>>
>> In english sounds like "an invalidi token "SELECT TabSchema, Tabname,
>> Type, T" is found after "BEGIN-OF-STATEMENT". The correct token can be
>> "<query_expr_top>". SQLSTATE=42601
> Please post the failing statement as well.
>
> Cheers
> Serge
> --
> Serge Rielau
> DB2 Solutions Development
> IBM Toronto Lab >> Stay informed about: Control Center Error |
|
| Back to top |
|
 |  |
External

Since: Jan 02, 2006 Posts: 8
|
(Msg. 4) Posted: Fri Mar 31, 2006 5:46 pm
Post subject: Re: Control Center Error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
scoffer wrote:
> The SQL that the control center try to execute is:
>
> SELECT TabSchema, TabName, Type, TBSpace, INDEX_TBSPACE, LONG_TBSPACE,
> DataCapture, Definer, Remarks FROM SYSCAT.Tables WHERE Type in
> ('T','S','U','H') ORDER BY TabName FOR FETCH ONLY WITH UR
>
> If i try to execute it from command center the sql runs without problem.
>
> If I open the same database with a control center installed on another
> machine i don't receive the error.
>
> Is very strange, but I can't reinstall the DB2 'cause I have a database that
> have a dimension of 100GByte!!
>
> Do you have an idea??
>
> "Serge Rielau" ha scritto nel messaggio
>
>
>> scoffer wrote:
>>
>>> Hi all,
>>>
>>> I have a problem when I try to open the tables list on a database.
>>> I work with 8.2.0 Enterprise Edition.
>>>
>>> The control center return this error:
>>>
>>> [IBM][CLI Driver][DB2/NT] SQL0104N E' stato trovato un token "SELECT
>>> TabSchema, Tabname, Type, T" non previsto dopo "BEGIN-OF-STATEMENT". I
>>> token previsti possono comprendere: "<query_expr_top>". SQLSTATE=42601
>>>
>>> In english sounds like "an invalidi token "SELECT TabSchema, Tabname,
>>> Type, T" is found after "BEGIN-OF-STATEMENT". The correct token can be
>>> "<query_expr_top>". SQLSTATE=42601
>>>
>> Please post the failing statement as well.
>>
>> Cheers
>> Serge
>> --
>> Serge Rielau
>> DB2 Solutions Development
>> IBM Toronto Lab
I cannot help you with the Control Center error - but installing or
reinstalling DB2 has nothing do to with your database ... as long as you
know where your database is catalogued your should be able to reinstall
DB2 and then simply recatalog your database. Reinstalling does not drop
or remove your database. It simply would remove the entry in the system
catalogue directory (since a new one would be created).
Bob >> Stay informed about: Control Center Error |
|
| Back to top |
|
 |  |
| Related Topics: | DB2 Control Center crashes - Hi, I cannot start the Control Center GUI tool on my production box. It crashes every time with error "Faulting application javaw.exe, version 141.2004.3.1, faulting module db2jddba.dll, version 8.1.8.762, fault address 0x0002bfbf." logged in ...
Control Center extension - Hello: Based on the IBM Example I'm trying to add a Toolbar-Button to the CC Toolbar and supply my own icon but it is not shown at the CC. I tried out to supply an IBM DB2 icon.No errors but the icon is not shown: Has someone dealed with the same..
How to start Control Center in different language? - Hi, Let's say I choose two languages during DB2 installation (English and Polish) on Windows. When I start DB2 Control Center it displays all messages in Polish (as it is a default language on my Windows). How can I start Control Center in English..
Use of port 523 from Control Center - We are just starting to use DB2. I have a question about Control Center and port 523. Our DBA set up a database that listens on port 30280 (I have no idea where that port number came from...). Our security guy opened that port so I can access it from....
Control Center - how to add a system... - Hello all! I have installed DB2 V9 client (full) on my WinXP and would like to add a system(s) in the Control Center. Inside the "Control Center view" I click on "All Systems" and then on "Add" and then the "Add Syste... |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|