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 » MQSC where clause - use of extra condition

Post new topic  Reply to topic
 MQSC where clause - use of extra condition « View previous topic :: View next topic » 
Author Message
HenriqueS
PostPosted: Mon Jul 09, 2012 9:46 am    Post subject: MQSC where clause - use of extra condition Reply with quote

Master

Joined: 22 Sep 2006
Posts: 235

I am trying something like this with MQSC, but it does not work:

DISPLAY CHSTATUS(*) WHERE(STATUS NE RUNNING AND CHLTYPE EQ SENDER)

DISPLAY CHSTATUS(*) WHERE(STATUS NE RUNNING) WHERE(CHLTYPE EQ SENDER)

DISPLAY CHSTATUS(*) WHERE(STATUS NE RUNNING) AND WHERE(CHLTYPE EQ SENDER)

Reading the book, it does not seem to allow multiple conditions. Am I right? Any workaround available (not mentioning use of PCF programming).
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jul 09, 2012 10:02 am    Post subject: Re: MQSC where clause - use of extra condition Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

HenriqueS wrote:
Am I right?

Yes.
HenriqueS wrote:
Any workaround available

Yes.
HenriqueS wrote:
(not mentioning use of PCF programming).

Oh, then, No.
Back to top
View user's profile Send private message
HenriqueS
PostPosted: Mon Jul 09, 2012 12:21 pm    Post subject: Reply with quote

Master

Joined: 22 Sep 2006
Posts: 235

Thanks for the feedback.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jul 09, 2012 12:24 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Wish there was a different answer!

I mean, there ... is... but it's a lot of shell scripting to reformat the output of runmqsc and then do your own filtering, and PCF messages is probably *almost* as easy - particularly with the Perl or Java modules.
Back to top
View user's profile Send private message
WBI_User21
PostPosted: Fri Jul 13, 2012 1:05 am    Post subject: Reply with quote

Voyager

Joined: 12 Jun 2007
Posts: 98

Have you tried Windows Powershell
http://www-01.ibm.com/support/docview.wss?uid=swg24017698
-Powershell uses PCF. ..
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 » MQSC where clause - use of extra condition
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.