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 » DBerror- datatype for param hs changd since 1st sql exec cal

Post new topic  Reply to topic
 DBerror- datatype for param hs changd since 1st sql exec cal « View previous topic :: View next topic » 
Author Message
jbanoop
PostPosted: Tue Aug 08, 2006 12:02 am    Post subject: DBerror- datatype for param hs changd since 1st sql exec cal Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

Hi All,
We are getting a problem with database insertion.
WBIMB V 6.0.0 (toolkit and broker)
oracle 9.0.2
WinXP service pack 2

the following code is there at two places, in two different DB nodes with same DSN name and transaction mode set to commit. (these are basically code for tracking points to identify till where the flow has executed). The flow is of the form MQInput ->DB node (first node) ->compute ->MQ Output ->MQ get ->DB node (2nd node) ->compute ->Mq Output

in first node:
--------------
DECLARE BlobData4 BLOB BITSTREAM(Root.XML);
Insert Into Database.SR_MNP_LINE_AUDIT_TBL (LINE_ID, SR_ID, TIMESTAMP,MSISDN, TRACKING_POINT, MESSAGE)
VALUES (Environment.Variables.LINE_ID.NEXTVAL,
TRIM(Environment.Variables.MNP.SRID),
CURRENT_TIMESTAMP,
Environment.Variables.MSISDN,
567,
SUBSTRING(CAST(BlobData4 AS CHAR CCSID 1208) FROM 1 FOR 4000)
);





In second node:
-------------------

DECLARE BlobData5 BLOB BITSTREAM(Root.XML);
Insert Into Database.SR_MNP_LINE_AUDIT_TBL (LINE_ID, SR_ID, TIMESTAMP,MSISDN, TRACKING_POINT, MESSAGE)
VALUES (Environment.Variables.LINE_ID.NEXTVAL,
TRIM(Environment.Variables.MNP.SRID),
CURRENT_TIMESTAMP,
Environment.Variables.MSISDN,
568,
SUBSTRING(CAST(BlobData5 AS CHAR CCSID 1208) FROM 1 FOR 4000)
);



its giving the error saying
datatype for param 6 has changd since 1st sql exec call , while executing in the query in the second node.
The content of Root.XML obviously changes (db node 1 is input xml and db node 2 is output xml recvd from MQ Get node).

Any suggestions on this would be greatly appriciated.

Regards,
Anoop
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » DBerror- datatype for param hs changd since 1st sql exec cal
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.