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 » IBM MQ API Support » Equivalent of tpstatus mqsc command in Java

Post new topic  Reply to topic
 Equivalent of tpstatus mqsc command in Java « View previous topic :: View next topic » 
Author Message
lokeshraghuram
PostPosted: Mon Aug 22, 2016 8:46 pm    Post subject: Equivalent of tpstatus mqsc command in Java Reply with quote

Novice

Joined: 10 Dec 2013
Posts: 14

Hello,

Can anyone tell me if there is a method which I can use in Java that will give me the result of "display tpstatus('topicstring')?

tpstatus give the details of all subscribers that subscribe to the topic mentioned. Is there a way we get this information using Java API?
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Mon Aug 22, 2016 9:06 pm    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

I don't know about a 'method' but all the MQ commands are available programmatic ally using the Programmable Command Format (PCF) where you send a message to the Command Server and collate the responses. This is how remote administration tools such as MQ Explorer, MQSCX and MO71 do what they do.

Cheers,

Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Tue Aug 23, 2016 3:37 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There is a Java package that contains classes that make working with PCF messages much easier - look for PCFAgent.

Oh, and as a general rule, any MQSC command that uses "DISPLAY" will map to a PCF command that is an "INQUIRE".
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 23, 2016 6:38 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

mqjeff wrote:
There is a Java package that contains classes that make working with PCF messages much easier - look for PCFAgent.

Oh, and as a general rule, any MQSC command that uses "DISPLAY" will map to a PCF command that is an "INQUIRE".


And if you really want to simplify look for PCFMessageAgent...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Aug 24, 2016 4:07 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
mqjeff wrote:
There is a Java package that contains classes that make working with PCF messages much easier - look for PCFAgent.

Oh, and as a general rule, any MQSC command that uses "DISPLAY" will map to a PCF command that is an "INQUIRE".


And if you really want to simplify look for PCFMessageAgent...


Details, details, details...
_________________
chmod -R ugo-wx /
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 » IBM MQ API Support » Equivalent of tpstatus mqsc command in Java
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.