IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Search a queue in MQM thru a job


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
PrabakarV

New User


Joined: 21 Dec 2007
Posts: 88
Location: My Desk

PostPosted: Tue Sep 01, 2009 5:22 pm
Reply with quote

Hi,

Is there any option to search a list of queues in MQM to find out whether they exists or not.... Help is much appreciated.

Thanks,
Prabakar
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Sep 01, 2009 7:15 pm
Reply with quote

Pgm CSQUTIL can list information about Queues, Channels, etc. This example lists all Queues or you can specify the Queue name instead of '*'.
Code:
//TESTSTEP EXEC PGM=CSQUTIL,PARM='qmgrname'           
//SYSPRINT DD SYSOUT=*                             
//STEPLIB  DD DSN=hlq.SCSQANLE,DISP=SHR   <-- you may need these         
//         DD DSN=hlq.SCSQAUTH,DISP=SHR         
//SYSIN    DD *                                     
COMMAND DDNAME(CMDINP)             
/*                                                 
//CMDINP   DD *                                     
DISPLAY QUEUE(*) ALL                               
Back to top
View user's profile Send private message
PrabakarV

New User


Joined: 21 Dec 2007
Posts: 88
Location: My Desk

PostPosted: Tue Sep 01, 2009 8:00 pm
Reply with quote

Thank u very much Bill icon_smile.gif

Is there any option for displayin only the local queues not all. If u have any link or manual for these stuff it would be very helpfull...
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Sep 02, 2009 7:53 pm
Reply with quote

The MQ Library is found here www-01.ibm.com/software/integration/wmq/library/

You can read about the options for DISPLAY QUEUE command in the Commands manual on the cross-platform bookshelf.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts MQ response when MQGET of a stopped q... Java & MQSeries 2
No new posts first column truncated in search result IBM Tools 13
No new posts IOF Output Queue & REXX(?) All Other Mainframe Topics 2
Search our Forums:

Back to Top