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 Performance Monitoring » dis qstatus(<q name>) - does this add to IPPROCS or OP

Post new topic  Reply to topic Goto page Previous  1, 2
 dis qstatus(<q name>) - does this add to IPPROCS or OP « View previous topic :: View next topic » 
Author Message
PaulClarke
PostPosted: Fri Jan 29, 2016 2:49 pm    Post subject: Reply with quote

Grand Master

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

Well actually it is more a question that z/OS didn't support PCF messages at all for many releases. Where as for the Distributed product you needed to wrap the MQSC command in an ESCAPE PCF for the z/OS product you just send the command server the string itself.

So, it almost seems too simple but if you send a string message of DIS Q(*) to the z/OS command queue it will process the command and send the results to the reply queue. Assuming you have authority of course. So, you could use AMQSPUT or Q program if you wished.

Parsing the responses from z/OS is the tricky bit since the z/OS command server has a contact admin habit of blank padding everything! So what you get back is hard to read. MO72 spends a fair amount of its time trying to format the data so it is a little more palatable. Another complication of course is the coupling facility where a single command can cause multiple responses. MO72 tries to sort these out but our MQSCX product does a much better job of it since it is a much more sophisticated program. MQSCX also makes parsing and post processing the responses trivial.

Hope that helps,

Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
tczielke
PostPosted: Sat Jan 30, 2016 6:55 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
Location: Illinois, USA

Yes, that does help. Understanding how z/OS handles the equivalent of a PCF ESCAPE command will make the coding a lot easier for something new I was going to write into the tool. Thank you!
_________________
Working with MQ since 2010.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Feb 01, 2016 6:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You could review the code in MS0S, https://github.com/ibm-messaging/mq-mqsc-editor-plugin, to see how it handles this.

Note that it doesn't parse the response, it merely reports it back to the user.

And note that the code may not be very pretty.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Performance Monitoring » dis qstatus(<q name>) - does this add to IPPROCS or OP
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.