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 » Exists not working

Post new topic  Reply to topic
 Exists not working « View previous topic :: View next topic » 
Author Message
nab054371
PostPosted: Thu Jan 04, 2007 12:07 pm    Post subject: Exists not working Reply with quote

Disciple

Joined: 15 Nov 2006
Posts: 173

IF EXISTS(SELECT T.USER_ID FROM Database.USER_TBL AS T WHERE T.USER_ID = 'ABCD') THEN


I get a syntax error on this line,it tells me valid options include: *

I have tried
IF EXISTS(SELECT T.* FROM Database.USER_TBL AS T WHERE T.USER_ID = 'ABCD') THEN

but that doesn't work either?
Back to top
View user's profile Send private message
gregop
PostPosted: Fri Jan 05, 2007 12:20 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2006
Posts: 81

Well that should work OK - It works OK for me in V6.0.0.2.

What WMB version are you using ?
Back to top
View user's profile Send private message
nab054371
PostPosted: Fri Jan 05, 2007 6:52 am    Post subject: Reply with quote

Disciple

Joined: 15 Nov 2006
Posts: 173

I am in 5.0. I picked this staringht out of 5.0 message broker manuals!
Back to top
View user's profile Send private message
vsr
PostPosted: Fri Jan 05, 2007 7:54 am    Post subject: Reply with quote

Centurion

Joined: 04 Apr 2006
Posts: 104

Why don't you trace the error so that it will be easy to find out
Back to top
View user's profile Send private message
nab054371
PostPosted: Fri Jan 05, 2007 8:05 am    Post subject: Reply with quote

Disciple

Joined: 15 Nov 2006
Posts: 173

This is a syntax error.I am not getting that far!
Back to top
View user's profile Send private message
pathipati
PostPosted: Fri Jan 05, 2007 9:10 am    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

gregop wrote:
Well that should work OK - It works OK for me in V6.0.0.2.

What WMB version are you using ?

nab054371 wrote:
I am in 5.0. I picked this staringht out of 5.0 message broker manuals!

Apply latest fixpak.
Back to top
View user's profile Send private message Yahoo Messenger
nab054371
PostPosted: Fri Jan 05, 2007 12:18 pm    Post subject: Reply with quote

Disciple

Joined: 15 Nov 2006
Posts: 173

Is there a way to figure out what fixpack I am currently on?
Back to top
View user's profile Send private message
vsr
PostPosted: Fri Jan 05, 2007 12:25 pm    Post subject: Reply with quote

Centurion

Joined: 04 Apr 2006
Posts: 104

Go to tool kit -->Help -->About Message Broker Toolkit for Websphere Studio

There you will find version number like this
ex:
Version: 5.0.X ----> where X = Current FixPack Level

Similarly you can check the updates by Toolkit -->Help-->Software Updates-->New Updates and check the the updates you want ...
Back to top
View user's profile Send private message
pathipati
PostPosted: Fri Jan 05, 2007 12:38 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

vsr wrote:
Go to tool kit -->Help -->About Message Broker Toolkit for Websphere Studio

There you will find version number like this
ex:
Version: 5.0.X ----> where X = Current FixPack Level

Similarly you can check the updates by Toolkit -->Help-->Software Updates-->New Updates and check the the updates you want ...
This is for Toolkit...

and for Broker use..
mqsiservice
and Search in IBM site for Broker fixpaks...
Back to top
View user's profile Send private message Yahoo Messenger
nab054371
PostPosted: Fri Jan 05, 2007 3:03 pm    Post subject: Reply with quote

Disciple

Joined: 15 Nov 2006
Posts: 173

I finally figure it out.This is a bug in MQSI manual for message flows.
It needs to be

IF EXISTS(SELECT * FROM Database.USER_TBL AS T WHERE T.USER_ID = 'ABCD') THEN
Back to top
View user's profile Send private message
pathipati
PostPosted: Fri Jan 05, 2007 3:28 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Didn't it fixed in any v5 fixpaks?
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Exists not working
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.