Author |
Message
|
GSI |
Posted: Mon Apr 28, 2008 12:46 am Post subject: List all queue names connected with a queue manager |
|
|
Novice
Joined: 16 Apr 2008 Posts: 18
|
Hi,
Please give suggestions for solving below requirement
Need to list all queue names connected with a queue manager, whenever a particular CICS transaction is involked.
Thanks
Kris. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 28, 2008 12:55 am Post subject: Re: List all queue names connected with a queue manager |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
GSI wrote: |
Need to list all queue names connected with a queue manager, whenever a particular CICS transaction is involked.
|
Obtaining a list of queue names on a queue manager is easy, and has been discussed a number of times.
Assuming the CICS transaction is triggered (and that's a big assumption given the lack of information in your post) then you can identify the suubset of queues involved from the process id.
If not (e.g. long running tasks or screen transactions), then you'll need to identify the queues involved from the transactions themselves. Speak to the app and/or CICS admins, who may have these details. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 28, 2008 12:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Moved to Mainframe forum _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Apr 28, 2008 12:57 am Post subject: Re: List all queue names connected with a queue manager |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Inorder to get the queues present in a Qmgr
http://www.mqseries.net/phpBB2/viewtopic.php?t=43102
GSI wrote: |
Need to list all queue names connected with a queue manager, whenever a particular CICS transaction is involked.
Use some monitoring tool to get CICS transaction details...
|
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 28, 2008 1:01 am Post subject: Re: List all queue names connected with a queue manager |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
The methods in the quoted thread won't work for this poster if (given the reference to CICS) he's on a mainframe. At best they rely on the CAF being present!
Read the post before given advice. Generic advice can be counterproductive and confusing to the less experienced!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 28, 2008 1:07 am Post subject: Re: List all queue names connected with a queue manager |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
GSI: if you're going to use this method, then what you need is CSQUTIL running in a command mode & some JCL.
As I said, this has been discussed & there's a thread in here somewhere on the topic. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
GSI |
Posted: Mon Apr 28, 2008 2:25 am Post subject: |
|
|
Novice
Joined: 16 Apr 2008 Posts: 18
|
Thanks Vitor,
Quote: |
As I said, this has been discussed & there's a thread in here somewhere on the topic. |
-> am still trying to find this thread
Yes, as you said CSQUTIL ( command mode / JCL ) can be used.
Am wondering whether there is a way to get this list using Cobol / CICS
MQINQ ?????
Regards,
Kris. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 28, 2008 2:37 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
GSI wrote: |
Am wondering whether there is a way to get this list using Cobol / CICS |
Another method is to write a CICS trans to issue PCF commands (also discussed on the forum a few times). MQINQ will give details of a specific queue, not a list of them.
My 2 cents - why bother? Why write an app when CSQUTIL will do it?
I'm also distrustful of applications issuing administrative commands. Aside from the security issues, there's seldom a good business reason for it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|