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 » WMQI - Access Sybase using Stopred Proc

Post new topic  Reply to topic
 WMQI - Access Sybase using Stopred Proc « View previous topic :: View next topic » 
Author Message
emoynihan
PostPosted: Mon Nov 24, 2003 2:22 am    Post subject: WMQI - Access Sybase using Stopred Proc Reply with quote

Newbie

Joined: 20 Nov 2003
Posts: 3

We have occasionally used Stored Procs to return data from Sybase tables, via the PASSTHRU command.
However, I have now written a slightly more complicated Stored Proc which inserts a temporary table before retrieving and updating some data, subsequently passing results to the flow.
When I try to execute this SP from the PASSTHRU though I get the following error:
Native Error Code '2762'. The 'CREATE TABLE' command is not allowed within a multi-statement transaction in the 'tempdb' database.

Searching through the Sybase books it seems there are commands which are never allowed in multi-statement transactions, such as "create" and "select into"...(it works with SQL server...)
Is there any way I can call this SP from WMQI to put this through? (maybe an alternative to PASSTHRU?)
Tks!
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Nov 25, 2003 2:28 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

WMQI only supports calling of Sybase SP's in 5.0 and above, except via passthru
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
blies
PostPosted: Mon Dec 01, 2003 2:09 pm    Post subject: Reply with quote

Newbie

Joined: 01 Dec 2003
Posts: 1

The error is not a WMQI error but a sybase set up error.

You need to set "ddl in tran" to true for the database.
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 » WMQI - Access Sybase using Stopred Proc
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.