Author |
Message
|
Hanuman |
Posted: Wed Sep 13, 2006 2:48 am Post subject: how to confirm creation of queus... i mean any log genearate |
|
|
 Voyager
Joined: 28 Aug 2006 Posts: 89
|
hi,
Are there log files generated when you create multiple queue...
I get this confirmation when i create queue...
bash-2.03$ runmqsc QM_orf_qa01.queue.manager<queues.txt
5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager QM_orf_qa01.queue.manager.
1 : define QL(GEN2OSM_CPM_ALARM)
AMQ8006: WebSphere MQ queue created.
2 : define QL(GEN2OSM_CPM_CTA)
AMQ8006: WebSphere MQ queue created.
3 : define QL(GEN2OSM_TM_TSQ_ADHOC)
AMQ8006: WebSphere MQ queue created.
But are there log generated............
Thanks in advance......... |
|
Back to top |
|
 |
Nigelg |
Posted: Wed Sep 13, 2006 3:47 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
No. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
wschutz |
Posted: Wed Sep 13, 2006 4:23 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
If runmqsc says the queue were created, then you can trust that they were....but, if there is doubt in your mind:
Code: |
runmqsc QM_orf_qa01.queue.manager
dis q(GEN2OSM*)
end |
_________________ -wayne |
|
Back to top |
|
 |
sanvij |
Posted: Wed Sep 13, 2006 6:51 am Post subject: |
|
|
Novice
Joined: 21 Mar 2003 Posts: 24
|
You can verify by doing this:
eg:
runmqsc QMGR_NAME < queues.txt > out.txt
Where QMGR_NAME is your QMGR
queues.txt is your template which contains all the queues that you need to create
The output will be written to the file out.txt.
You can verify the out.txt for any errrors ... In the end of the file if you see the below message then all your MQ Objects were created without errors
No commands have a syntax error.
All valid MQSC commands were processed. _________________ Sanvij
IBM Certified MQSeries Specialist
IBM Certified WebSphere MQ Solution Designer |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Sep 14, 2006 5:53 am Post subject: |
|
|
Guest
|
A log record IS created when an MQ object is defined (or altered or deleted). This ensures that MQ can restart at a consistent state.
Refer to Table 16. Log overhead sizes... in the System Admin Guide for V6. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 14, 2006 6:00 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You mean Table 19.
I do not consider entries in the MQ log to be usable by anyone other than MQ.
IBM appears to agree, since the format is proprietary or at least undocumented. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Sep 14, 2006 7:04 am Post subject: |
|
|
Guest
|
I read the original post as asking about the recoverability of object definitions. Most MQers think only about logging of messages. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 14, 2006 7:14 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I read the original post as wanting audit information on system changes. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 14, 2006 3:10 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
bruce2359 wrote: |
I read the original post as asking about the recoverability of object definitions. Most MQers think only about logging of messages. |
That would force you to linear logging.... unless you don't care about the object integrity (i.e. queue content) and then MS03 or equivalent should be sufficient... _________________ MQ & Broker admin |
|
Back to top |
|
 |
|