Author |
Message
|
aniket_g24 |
Posted: Mon Jan 04, 2010 10:24 am Post subject: Shell script to Move messages from queue |
|
|
Newbie
Joined: 04 Jan 2010 Posts: 1
|
hi,
I want to write a shell script to move messages from one queue to another queue on the same queue manager. Can anyone gove me the direction to start . |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Jan 04, 2010 10:39 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Search here. This has been discussed many, many times. _________________ 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: Mon Jan 04, 2010 10:54 am Post subject: Re: Shell script to Move messages from queue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
aniket_g24 wrote: |
Can anyone gove me the direction to start . |
Download one of the tools that does this.
Read the instructions.
Decide if you still need to write a script.
Embed the tool in the script.
IMHO if you need to move messages from one queue to another so frequently you need to script it, there's a deeper issue with your set up. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jammerules |
Posted: Tue Aug 27, 2013 10:12 pm Post subject: Re: Shell script to Move messages from queue |
|
|
Newbie
Joined: 27 Aug 2013 Posts: 7
|
Vitor wrote: |
aniket_g24 wrote: |
Can anyone gove me the direction to start . |
Download one of the tools that does this.
Read the instructions.
Decide if you still need to write a script.
Embed the tool in the script.
IMHO if you need to move messages from one queue to another so frequently you need to script it, there's a deeper issue with your set up. |
Whoa...Isn't your "answer" mighty helpful to others!!! If you don't want to answer why don't you just take your privileged seat in the sidelines? |
|
Back to top |
|
 |
exerk |
Posted: Tue Aug 27, 2013 11:44 pm Post subject: Re: Shell script to Move messages from queue |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
jammerules wrote: |
Whoa...Isn't your "answer" mighty helpful to others!!! If you don't want to answer why don't you just take your privileged seat in the sidelines? |
A friendly word - for your first post, taking a swing at someone's answer to a post is not good etiquette. The answer may have been terse, but still pertinent. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Aug 28, 2013 1:44 am Post subject: Re: Shell script to Move messages from queue |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
jammerules wrote: |
If you don't want to answer why don't you just take your privileged seat in the sidelines? |
Because that simply doesn't work. |
|
Back to top |
|
 |
Tibor |
Posted: Wed Aug 28, 2013 2:39 am Post subject: Re: Shell script to Move messages from queue |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
aniket_g24 wrote: |
I want to write a shell script to move messages from one queue to another queue on the same queue manager. Can anyone gove me the direction to start . |
Firstly you should look for an appropriate tool, e.g. IBM SupportPacs: Q (MA01) or QLOAD (MO03). |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Aug 28, 2013 2:40 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
|
Back to top |
|
 |
Vitor |
Posted: Wed Aug 28, 2013 4:54 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Guys - It's a troll trying to get the first post in by "responding" to a 3 year old post. Links to dubious web sites will follow shortly.
But I thank you for your support.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Tibor |
Posted: Wed Aug 28, 2013 5:00 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
troll alert!  |
|
Back to top |
|
 |
exerk |
Posted: Wed Aug 28, 2013 5:14 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Vitor wrote: |
Guys - It's a troll trying to get the first post in by "responding" to a 3 year old post. Links to dubious web sites will follow shortly.
But I thank you for your support.  |
Does that mean you're getting the first round next month?  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Aug 28, 2013 5:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
exerk wrote: |
Vitor wrote: |
Guys - It's a troll trying to get the first post in by "responding" to a 3 year old post. Links to dubious web sites will follow shortly.
But I thank you for your support.  |
Does that mean you're getting the first round next month?  |
Always planned to.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jammerules |
Posted: Wed Aug 28, 2013 5:24 am Post subject: |
|
|
Newbie
Joined: 27 Aug 2013 Posts: 7
|
Vitor wrote: |
Guys - It's a troll trying to get the first post in by "responding" to a 3 year old post. Links to dubious web sites will follow shortly.
But I thank you for your support.  |
I am sorry but it is definitely not a troll. I was astonished at how vague (well at least for me) your response was and hence my reply. I still don't understand the reason behind your "cryptic" answer. Yes, this is my first post on this site but I gave it a good thought before I posted it. I was happy that someone had the same question I did and I was actually hoping for a straight answer. And not all people have the same caliber as Vitor. There are newbies like me that cannot make sense of what that "one of the tools" is. |
|
Back to top |
|
 |
jammerules |
Posted: Wed Aug 28, 2013 5:26 am Post subject: |
|
|
Newbie
Joined: 27 Aug 2013 Posts: 7
|
Yes, I did my search here as the first responder suggested but I, sadly, could not find what I was looking for. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Aug 28, 2013 5:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jammerules wrote: |
Yes, I did my search here as the first responder suggested but I, sadly, could not find what I was looking for. |
Despite several members of my newly formed fan club giving you concrete suggestions? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|