Posted: Thu Nov 01, 2012 5:25 am Post subject: Subscription syntax error
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.
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