Author |
Message
|
mq_ge |
Posted: Wed Mar 16, 2005 2:15 pm Post subject: MQseries tool for multiple MQput's |
|
|
Newbie
Joined: 16 Mar 2005 Posts: 3
|
Hi All,
I have a problem with an EAI implementation . we are using WICS 411 and wmq v5.2.05. Problem is some of the messages are not being read for post processing from ICS.
we are trying to manually do an MQPUT for all those messages(say about 700-800 msgs, random number that occured during this instance).
My question is, do we have any tool(like qpasa/MO71/rfhutil/MQbatch....) available which is capable of picking up messages from a network location and doing an MQput into a queue and repeat it for all the messages. Our concern is we do not want to manually put the messages for 700-800 times, so we are looking to get this kinda tool which will repeatedly put all the messages, whenever we have a failure.
or should we go ahead and write a batch script to repeatedly do an MQPUT.
Please advise and help. Any advise or help is greatly appreciated.
Thank you very much.
Take it easy |
|
Back to top |
|
 |
mq_ge |
Posted: Thu Mar 17, 2005 2:32 pm Post subject: |
|
|
Newbie
Joined: 16 Mar 2005 Posts: 3
|
no responses....did I ask a stupid question or no one knows about it...
please help folks... |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu Mar 17, 2005 3:14 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
I've been very busy and missed your posting.
I do not entirely understand your question:
Quote: |
My question is, do we have any tool(like qpasa/MO71/rfhutil/MQbatch....) available which is capable of picking up messages from a network location and doing an MQput into a queue and repeat it for all the messages. |
What do you mean by 'network location'?
(A) Do you mean a file sitting on a LAN drive?
(B) Do you mean get messages from 1 queue manager and put them to another queue manager?
And yes, MQ Batch Toolkit can do both of these functions. Quick answers are:
(A) Use the PutServer to write the file 800 times.
(B) This is a 2 step process. Backup the all messages to a VEQ file from QMgrA then Restore the VEQ file to a queue on QMgrB.
If that is not what you are looking for, then could you get more detail in your question.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Mar 17, 2005 3:14 pm Post subject: Re: MQseries tool for multiple MQput's |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
mq_ge wrote: |
or should we go ahead and write a batch script to repeatedly do an MQPUT. |
Yes. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Mar 17, 2005 6:56 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If this is a triggering problem look into the following
a) to have a trigger immediate change the queue attribute from trigger to notrigger and back.
b) look at the trigint on the qmgr and set it to 300000 = 5 minutes.
Remember it will only take effect after you recycle the qmgr. So if no process is servicing the queue after 5 minutes another trigger will be generated.
c) If your messages are that important they should be persistent. So you should also be able to recycle the qmgr. When it comes up the trigger should be firing.
d) if your queue is still being serviced do a dis qs(queuename) type(handle) all. Find the hung process and kill it.
Enjoy  |
|
Back to top |
|
 |
mq_ge |
Posted: Mon Mar 21, 2005 7:36 am Post subject: |
|
|
Newbie
Joined: 16 Mar 2005 Posts: 3
|
Thanks for responding guys.....
Thank you, Roger that was the answer I was looking for....file location on the drive.... |
|
Back to top |
|
 |
Keka |
Posted: Mon Mar 21, 2005 6:12 pm Post subject: |
|
|
Voyager
Joined: 28 Dec 2002 Posts: 96
|
I am not sure what the MQbatch Tool kit is. If this is something that you need to buy, I have a java program that reads from a directory and reads the files sequentially and puts each file content as a separate msg.
Let me know if you need it..
keka _________________ Keka |
|
Back to top |
|
 |
|