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 Discussion » Pub Sub question

Post new topic  Reply to topic
 Pub Sub question « View previous topic :: View next topic » 
Author Message
brianb
PostPosted: Thu Oct 08, 2015 8:11 pm    Post subject: Pub Sub question Reply with quote

Voyager

Joined: 12 May 2010
Posts: 85

Hi All

We are finding that when a subscription is restored it duplicates the topicstring

so mystring/test/* becomes mystring/test/*/mystring/test/*

MQ 7.0.1 7.5 and MQ8 linux and AIX

Brian
Back to top
View user's profile Send private message
hughson
PostPosted: Thu Oct 08, 2015 9:47 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

When you convert the DISPLAY SUB command into a DEFINE SUB command don't use both TOPICOBJ and TOPICSTR, or get onto a version of MQ that has DISTYPE on DISPLAY SUB.

What tool are you using to do the restore, because some have been fixed to help work around this feature of MQ.

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
brianb
PostPosted: Tue Dec 01, 2015 4:43 pm    Post subject: Resloved Reply with quote

Voyager

Joined: 12 May 2010
Posts: 85

That worked thanks for the help....
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Dec 01, 2015 6:18 pm    Post subject: Re: Resloved Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9396
Location: US: west coast, almost. Otherwise, enroute.

brianb wrote:
That worked thanks for the help....

What's a that? What worked?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
hughson
PostPosted: Wed Dec 02, 2015 3:28 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

hughson wrote:
...don't use both TOPICOBJ and TOPICSTR ...


Maybe this?
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
zpat
PostPosted: Wed Dec 02, 2015 4:02 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

It's correct to use both. The idea is that the topic object holds the stem of the topic string and the topic string value has the remainder.

However as you say the display of the object usually shows the full topic string as well as the topic object name. So if these are re-combined the result is a mess.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
hughson
PostPosted: Wed Dec 02, 2015 12:53 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

While it may be correct to use both, it is not correct to take both from DISPLAY SUB which is what my answer that I alluded to said.

Although they've fixed it in the later versions of MQ so it gets better,

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
brianb
PostPosted: Wed Dec 02, 2015 1:06 pm    Post subject: Pub Sub Question Reply with quote

Voyager

Joined: 12 May 2010
Posts: 85

Hi

Morags answer pointed me in the correct direction

get onto a version of MQ that has DISTYPE on DISPLAY SUB

This worked as designed on 8.0.0.2
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 Discussion » Pub Sub question
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.