ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » List all queue names connected with a queue manager

Post new topic  Reply to topic
 List all queue names connected with a queue manager « View previous topic :: View next topic » 
Author Message
GSI
PostPosted: Mon Apr 28, 2008 12:46 am    Post subject: List all queue names connected with a queue manager Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Apr 28, 2008 12:55 am    Post subject: Re: List all queue names connected with a queue manager Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Apr 28, 2008 12:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Mon Apr 28, 2008 12:57 am    Post subject: Re: List all queue names connected with a queue manager Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Apr 28, 2008 1:01 am    Post subject: Re: List all queue names connected with a queue manager Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Gaya3 wrote:
Inorder to get the queues present in a Qmgr

http://www.mqseries.net/phpBB2/viewtopic.php?t=43102


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
View user's profile Send private message
Vitor
PostPosted: Mon Apr 28, 2008 1:07 am    Post subject: Re: List all queue names connected with a queue manager Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Gaya3 wrote:
Inorder to get the queues present in a Qmgr

http://www.mqseries.net/phpBB2/viewtopic.php?t=43102



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
View user's profile Send private message
GSI
PostPosted: Mon Apr 28, 2008 2:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Apr 28, 2008 2:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » List all queue names connected with a queue manager
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.