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 » DataInsert Node-Error Number is 2465

Post new topic  Reply to topic
 DataInsert Node-Error Number is 2465 « View previous topic :: View next topic » 
Author Message
tonythomasantony
PostPosted: Tue Jul 01, 2008 8:34 am    Post subject: DataInsert Node-Error Number is 2465 Reply with quote

Apprentice

Joined: 12 Aug 2006
Posts: 47

Hi ,
i wanted to insert a record into a DB2 Table using DatabaseInsert Node.
I successfully configured and created messagemap.
But after pushing the message i am getting the below error
( ['MQROOT' : 0x7931c20]
(0x01000000):RecoverableException = (
(0x03000000):File = 'F:\build\S610_P\src\DataFlowEngine\ImbDataFlowNode.cpp' (CHARACTER)
(0x03000000):Line = 739 (INTEGER)
(0x03000000):Function = 'ImbDataFlowNode::createExceptionList' (CHARACTER)
(0x03000000):Type = 'ComIbmDatabaseNode' (CHARACTER)
(0x03000000):Name = 'gg#FCMComposite_1_42.ComIbmDataInsert#FCMComposite_1_1' (CHARACTER)
(0x03000000):Label = 'gg.INSERT NEW RECORD INTO XREF TABLE.ComIbmDatabase' (CHARACTER)
(0x03000000):Catalog = 'BIPv610' (CHARACTER)
(0x03000000):Severity = 3 (INTEGER)
(0x03000000):Number = 2230 (INTEGER)
(0x03000000):Text = 'Node throwing exception' (CHARACTER)
(0x01000000):RecoverableException = (
(0x03000000):File = 'F:\build\S610_P\src\DataFlowEngine\ImbRdl\ImbRdlValueOperations.cpp' (CHARACTER)
(0x03000000):Line = 3775 (INTEGER)
(0x03000000):Function = 'SqlExpressionUtility::cast' (CHARACTER)
(0x03000000):Type = 'ComIbmDatabaseNode' (CHARACTER)
(0x03000000):Name = 'gg#FCMComposite_1_42.ComIbmDataInsert#FCMComposite_1_1' (CHARACTER)
(0x03000000):Label = 'gg.INSERT NEW RECORD INTO XREF TABLE.ComIbmDatabase' (CHARACTER)
(0x03000000):Catalog = 'BIPv610' (CHARACTER)
(0x03000000):Severity = 3 (INTEGER)
(0x03000000):Number = 2465 (INTEGER)
(0x03000000):Text = 'Cannot cast the value '%1' to type type '%2'. The types are incompatible' (CHARACTER)
(0x01000000):Insert = (
(0x03000000):Type = 5 (INTEGER)
(0x03000000):Text = '1960' (CHARACTER)
)
(0x01000000):Insert = (
(0x03000000):Type = 5 (INTEGER)
(0x03000000):Text = 'DATE' (CHARACTER)
)
)
)
)
In the table,some fields are notnullable and some are nullable.I have mapped all notnullable columns of the table.
And also i have tried with Adding and removing Properties and MQMD folders.

My mapping lookslike
Message DataBaseTable
---------- ---------------
Cross
item1-------------------it1
item2-------------------it2
item3
item4(complexItem)
item4i----------------it3
item4o

regards,
Tony Thomas
Back to top
View user's profile Send private message
Bill.Matthews
PostPosted: Tue Jul 01, 2008 5:19 pm    Post subject: Reply with quote

Master

Joined: 23 Sep 2003
Posts: 232
Location: IBM (Retired)

Go back and look at the data types of the columns in the database. I suspect that you will find one that is defined as a DATE and the data that you are mapping to that field is not a date.

The error information that you have posted - would be much clearer if it had been taken from the syslog (or event viewer) - where it would show if you didn't wire the Failure or Catch terminals. It would have looked something like this:


Code:
'BIPv610 Cannot cast the value '1960' to type 'DATE'. The types are incompatible'

_________________
Bill Matthews
Back to top
View user's profile Send private message
tonythomasantony
PostPosted: Tue Jul 01, 2008 8:27 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Aug 2006
Posts: 47

Bill,
i checked and confirmed that my mapping doesnt contain any mapping to a column in table whose datatype is DATE or DATETIME.
Moreover i cant identify how this value 1960 is coming as an error.In my entire message flow there is no value with 1960.My flow looks like this

MqInput>Trace>MqOutput>DataInsert>Trace

In MQInput i am validating the message with messageset then outputting the message to a queue.After that i need to insert the Values.

regards,
Tony
Back to top
View user's profile Send private message
AkankshA
PostPosted: Tue Jul 01, 2008 8:39 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

did u match each column type and the data supplied type...

u r validating it against a msg set.... there are chances of having a type mismatch with database fields...

in ur error msg i can see mismatch message with INTEGER and CHARACTER data types... etc etc

if u still face the error then probably u can try doing it in compute node... i can do all this very well
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
tonythomasantony
PostPosted: Tue Jul 01, 2008 8:47 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Aug 2006
Posts: 47

i wanted to use onlyDatainsert node bcz of some design issue.v6.1 traces having this structure contains the datatypes of every field generated for the trace.
I am 100% sure that my message not conatins any filed having datatype DATETIME and also i am not mapping to the tables columns...
regards,
Tony
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 » DataInsert Node-Error Number is 2465
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.