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 » Calling SQL Server Stored Procedure

Post new topic  Reply to topic
 Calling SQL Server Stored Procedure « View previous topic :: View next topic » 
Author Message
RichA
PostPosted: Mon Jan 19, 2004 6:32 am    Post subject: Calling SQL Server Stored Procedure Reply with quote

Centurion

Joined: 14 Mar 2002
Posts: 102

I'm using the following code in an attempt to call a SQL Server 2000 stored procedure -

PASSTHRU('call inputvalidate ?,?,?', CAST ("InputBody"."POS" AS CHARACTER CCSID InputRoot.Properties.CodedCharSetId),CAST ("InputBody"."TFR" AS CHARACTER CCSID InputRoot.Properties.CodedCharSetId),CAST ("InputBody"."TCN" AS CHARACTER CCSID InputRoot.Properties.CodedCharSetId));

In the MQSI logs it appears to generate the correct parameters for the call (the Message is made up of XML strings stored as BLOBS, the stored procedure is expecting the XML in the form of 3 strings)
However when I use the SQL Profiler it reports the parameters as being only the first 16 characters of the strings.

Any ideas?
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Calling SQL Server Stored Procedure
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.