Author |
Message
|
chendu_ag |
Posted: Tue Mar 18, 2014 12:14 pm Post subject: Monitoring the MQ logs |
|
|
Newbie
Joined: 18 Mar 2014 Posts: 4
|
Hi How can we monitor the MQ logs from mainframes ?? i checked with my support team and they are not sure about this. But there is separate MQ team who can monitor all the queues. But my question is how we can do this from mainframes. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 18, 2014 12:43 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
A z/OS queu emanager is a subsystem & writes log messages to it's job log - speak to your sys progs about how they monior this for other subsystems like CICS. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
gbaddeley |
Posted: Tue Mar 18, 2014 2:30 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Vitor wrote: |
A z/OS queu emanager is a subsystem & writes log messages to it's job log - speak to your sys progs about how they monior this for other subsystems like CICS. |
MQ log messages are also written to the SYS LOG, where most monitoring tools look for messages to alert. _________________ Glenn |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Mar 18, 2014 3:17 pm Post subject: Re: Monitoring the MQ logs |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
chendu_ag wrote: |
Hi How can we monitor the MQ logs from mainframes ?? |
Confusing question.
Do you mean 'how to monitor WMQ z/OS logs? Or, 'how to monitor WMQ Windows/UNIX logs from z/OS?
What exactly do you want to monitor? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fatherjack |
Posted: Wed Mar 19, 2014 5:56 am Post subject: Re: Monitoring the MQ logs |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
chendu_ag wrote: |
Hi How can we monitor the MQ logs from mainframes ?? |
Do you want to monitor the logs?
chendu_ag wrote: |
But there is separate MQ team who can monitor all the queues. But my question is how we can do this from mainframes. |
Or the queues?
And if the answer is logs, then which logs? Logs as is SYSLOG or logs as in those files where MQ logs its inflight messages? _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
chendu_ag |
Posted: Wed Mar 19, 2014 10:03 am Post subject: |
|
|
Newbie
Joined: 18 Mar 2014 Posts: 4
|
Hi All,
The question is
we do have MQs defined by the MQ team for using them in the programs. My question is how we can check these MQs in mainframes/ how we can the MQ logs where we can find the complete details about which queue was used and what was the message etc etc. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Mar 19, 2014 10:21 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
chendu_ag wrote: |
Hi All,
The question is
we do have MQs defined by the MQ team for using them in the programs. |
What do you mean by 'them'? In what programs?
chendu_ag wrote: |
My question is how we can check these MQs in mainframes |
What do you mean 'check these'? Check these what? For what purpose?
chendu_ag wrote: |
how we can the MQ logs where we can find the complete details about which queue was used and what was the message etc etc. |
WMQ for z/OS is installed, configured and maintained, dramatically different from WMQ for Windows and UNIX. There are platform-specific manuals for WMQ for z/OS. There is a utility provided for printing the contents of WMQ logs. Look here http://pic.dhe.ibm.com/infocenter/wmqv7/v7r1/index.jsp?topic=%2Fcom.ibm.mq.doc%2Fzc11890_.htm _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 19, 2014 12:49 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
chendu_ag wrote: |
My question is how we can check these MQs in mainframes/ how we can the MQ logs where we can find the complete details about which queue was used and what was the message etc etc. |
No z/OS software or application produces "log files" in the way the distributed world does; everything goes to the job log or system log (console for those of us of a certain age). The z/OS systems programming team at your site will have some way of monitoring those.
Even distributed queue managers do not, out of the box, log full details of which queue was used and what was the message. Whatever mechanism you have internally developed to obtain this information from a distributed queue manager will work on a z/OS queue manager.
Subject to OS differences of course; no command prompt on z/OS, that sort of thing. Again, your sys progs will be able to guide you on conversion. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 19, 2014 12:52 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Note also that there are more things on z/OS to monitor than on distributed; page set & buffer pool maintenance & administraton is key.
Fill up page set 0 and feel the pain....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
MQsysprog |
Posted: Thu Mar 20, 2014 2:52 am Post subject: |
|
|
Centurion
Joined: 24 Feb 2014 Posts: 116
|
Probably using the csq1logp utility,but remebering that the format of log records are not documented as far as i know ... Good Luck |
|
Back to top |
|
 |
fatherjack |
Posted: Thu Mar 20, 2014 3:37 am Post subject: |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
And to add to the confusion....
MQsysprog wrote: |
Probably using the csq1logp utility,but remebering that the format of log records are not documented as far as i know ... Good Luck |
I repeat ... which logs? Logs as is SYSLOG or logs as in those files where MQ logs its inflight messages?
If what you want is to
chendu_ag wrote: |
find the complete details about which queue was used and what was the message etc etc. |
then this requires some sort of audit trail not found in either the MQ logs or the joblog / syslog........ on any platform. If you can do this today on non-mainframe queue managers then as Vitor says you must have some in-house developed mechanism or 3rd party tool to do it. So use that on the mainframe. _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
|