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 » Interacting with Sybase DB

Post new topic  Reply to topic
 Interacting with Sybase DB « View previous topic :: View next topic » 
Author Message
Lex
PostPosted: Wed Nov 29, 2006 6:38 am    Post subject: Interacting with Sybase DB Reply with quote

Acolyte

Joined: 14 Nov 2006
Posts: 73

Hi,

I have migrated flows from version 2.1 to the message broker toolkit 6.0.

We interact with sybase DB in our flows. Therefore, some user-defined node have been created in order to handle this type of database in the 2.1 version. Indeed, we are calling a stored procedure and it was not supported in 2.1 for Sybase DB.

Now that i have migrated my flows, i have some problem with theses nodes, and i was wondering if there was a new way to interact with a Sybase DB in the version 6.0. Maybe a new type of Node or something like that?

Any clue would be appreciated
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 29, 2006 6:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ah14420_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Nov 29, 2006 7:32 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi,

Yes, Sybase stored procedures are now supported on V6, just use a regular compute node to talk to sybase like anyother DB.


Regards,
_________________
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
Lex
PostPosted: Thu Nov 30, 2006 7:57 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2006
Posts: 73

Thanks for the quick response!

What is the pattern in order to call a stored procedure for Sybase in a ESQL file?
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Thu Nov 30, 2006 8:12 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Go to this page http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ak04970_.htm

And go down to the section 'Database routines' and read about it. This is a very useful page.
_________________
Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3
Back to top
View user's profile Send private message AIM Address
Lex
PostPosted: Thu Nov 30, 2006 9:40 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2006
Posts: 73

Hi,

I checked my odbc.ini file and everything is correct and cool.

I Call the procedure like it is said but when i try and look at the trace, i obtain a return code of -1 from odbc.

Any clue what the problem is?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 30, 2006 9:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

A return code of -1 is non-specific.

Examine the entire error message.
_________________
I am *not* the model of the modern major general.
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 » Interacting with Sybase DB
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.