Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 2 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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us