Posted: Mon Jan 19, 2004 6:32 am Post subject: Calling SQL Server Stored Procedure
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.
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