View previous topic :: View next topic
|
Author |
Message |
PrabakarV
New User
Joined: 21 Dec 2007 Posts: 88 Location: My Desk
|
|
|
|
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 |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
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 |
|
|
PrabakarV
New User
Joined: 21 Dec 2007 Posts: 88 Location: My Desk
|
|
|
|
Thank u very much Bill
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 |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
Back to top |
|
|
|