ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SQL Error

Post new topic  Reply to topic
 SQL Error « View previous topic :: View next topic » 
Author Message
kishankumar.v
PostPosted: Mon Jan 21, 2002 5:06 am    Post subject: Reply with quote

Apprentice

Joined: 26 Nov 2001
Posts: 47

Hi,
The following statement give a error at runtime.

SET OutputDestinationList.ColumnMap[] = (SELECT BB.SBLNAME,BB.CMSNAME FROM Database.SBLCMS AS BB);

The abstract of the exceptionList is :

(0x1000000)RecoverableException = (
(0x3000000)Function = 'ImbRdlBinaryExpression::scalarEvaluate'
(0x3000000)Type = 'ComIbmComputeNode'
(0x3000000)Label = 'INP-OUT.Compute1'
(0x3000000)Text = 'error evaluating expression'
(0x1000000)RecoverableException = (
(0x3000000)Function = 'ImbValue::checkType'
(0x3000000)Text = 'wrong type exception'
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'CHARACTER'

Only the important tags I have pasted here.

SELECT BB.SBLNAME,BB.CMSNAME FROM Database.SBLCMS AS BB

Both SBLNAME and CMSNAME are CHARACTER(25) in DB2 Database.
Seems to be datatype problem...Am I missing something.

Regards,
Kishan
Back to top
View user's profile Send private message Send e-mail
mpuetz
PostPosted: Tue Jan 22, 2002 1:51 am    Post subject: Reply with quote

Centurion

Joined: 05 Jul 2001
Posts: 149
Location: IBM/Central WebSphere Services

Hi,

I don't think you are missing anything here, it should work as expected.
Can you try changing your DB fields to VARCHAR(25) instead of CHARACTER(25)
and see what happens. I have used very similar constructs in the past
but almost never used CHARACTER DB2 datatype.
Also, which MQSI Version and DB2 Version are you working with.



_________________
Mathias Puetz

IBM/Central WebSphere Services
WebSphere Business Integration Specialist
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SQL Error
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.