Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Search a queue in MQM thru a job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
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    Post subject: Search a queue in MQM thru a job
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    Post subject:
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    Post subject:
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    Post subject:
Reply with quote

The MQ Library is found here http://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    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Search a Load Module sreekanth1984 TSO/ISPF 8 Tue Jun 07, 2016 8:45 pm
No new posts Copy one PDS to another PDS based on ... alluri12 JCL & VSAM 10 Tue Sep 29, 2015 8:10 pm
No new posts CA-7 queue reallocation Kamil Tluczek CA Products 4 Thu Sep 17, 2015 12:44 am
No new posts Search and replace the key in the report V S Amarendra Reddy SYNCSORT 1 Thu Jul 09, 2015 7:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us