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 » Connecting to Database SQL Server Using ESQL

Post new topic  Reply to topic
 Connecting to Database SQL Server Using ESQL « View previous topic :: View next topic » 
Author Message
Siddu
PostPosted: Mon Sep 03, 2012 2:14 am    Post subject: Connecting to Database SQL Server Using ESQL Reply with quote

Apprentice

Joined: 22 Aug 2012
Posts: 44

Hi,

I'm newbie to WMB.

I'm trying to connect to SQL server using ESQL.

Could someone guide me on how to connect?
(It's not Oracle. I'm connecting using Key based User Authentication)

Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Sep 03, 2012 3:34 am    Post subject: Re: Connecting to Database SQL Server Using ESQL Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Siddu wrote:
Could someone guide me on how to connect?


You create a data source for the broker to use.

You associate your ESQL with that data source.

You write your ESQL.

and come back if you back specific problems.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Sep 03, 2012 4:15 am    Post subject: Re: Connecting to Database SQL Server Using ESQL Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Siddu wrote:

(It's not Oracle. I'm connecting using Key based User Authentication)


Is this mysterious DB on the list of supported databases? The list is in the InfoCentre.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mona
PostPosted: Sun Sep 09, 2012 5:23 am    Post subject: Reply with quote

Novice

Joined: 14 Mar 2012
Posts: 19

Hi
1- Create Data source
2- in property compute node we set Datasource and Transation = cmmite
3- create database definaition
4- write ESQL code for use DB in compute node
5- use mqsisetdbparms broker name -n Datasource name -u userID -p password
6- mqsicvp broker name -n Datasource name
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Sep 09, 2012 11:03 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

mona wrote:
Hi
1- Create Data source
2- in property compute node we set Datasource and Transation = cmmite
3- create database definaition
4- write ESQL code for use DB in compute node
5- use mqsisetdbparms broker name -n Datasource name -u userID -p password
6- mqsicvp broker name -n Datasource name


not a bad list of things to do but as Eric Morecambe famously once said to the conductor Andre Previn, "I'm playing all the right notes but not neccessecarily in the right order".

I'd probably do them in this order
1,5,6. Then is that is all ok then do 2 & 4
I'm not sure what you mean by 3 (does the DB exist already?) If it does not then you have to do that first...
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sun Sep 09, 2012 11:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

smdavies99 wrote:
I'm not sure what you mean by 3 (does the DB exist already?) If it does not then you have to do that first...

He means the definition in Toolkit to allow for things like mapping nodes to know what the database looks like, and for certain kinds of toolkit warnings to go away.
Back to top
View user's profile Send private message
Siddu
PostPosted: Mon Sep 10, 2012 3:52 am    Post subject: Reply with quote

Apprentice

Joined: 22 Aug 2012
Posts: 44

mona wrote:
Hi
1- Create Data source
2- in property compute node we set Datasource and Transation = cmmite
3- create database definaition
4- write ESQL code for use DB in compute node
5- use mqsisetdbparms broker name -n Datasource name -u userID -p password
6- mqsicvp broker name -n Datasource name


Thank You
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 » Connecting to Database SQL Server Using ESQL
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.