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 » General IBM MQ Support » Subscription syntax error

Post new topic  Reply to topic
 Subscription syntax error « View previous topic :: View next topic » 
Author Message
rcp_mq
PostPosted: Thu Nov 01, 2012 5:25 am    Post subject: Subscription syntax error Reply with quote

Centurion

Joined: 13 Dec 2011
Posts: 133

I created a SUB
DEF SUB('Ab.Ab') TOPICSTR('Ab Ab/A') DEST('A.A.A.A') SELECTOR('Ab.A.Ab.Ab.MessageType=''A'' OR Ab.A.Ab.Ab.MessageType=''C''')

This is exactly how it reads. Ab is a combination Upper and Lower Case.
There is a space between the letters in TOPICSTR.
and in the SELECTOR both arguments are same but it is=A or C.

When i used this, it created the SUB fine but there was no OR in the SELECTOR. so it read SELECTOR('Ab.A.Ab.Ab.MessageType=''A'').

Now, when i use the same script replacing DEF with ALTER it throws an error ALTER SUB('Ab.Ab') TOPICSTR. I'm on AIX and using a mqsc script.

Please advise.
Back to top
View user's profile Send private message
rcp_mq
PostPosted: Thu Nov 01, 2012 7:03 am    Post subject: Reply with quote

Centurion

Joined: 13 Dec 2011
Posts: 133

Found the solution, SELECTOR and TOPICSTR cannot be altered.
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 » General IBM MQ Support » Subscription syntax error
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.