Author |
Message
|
VijayGoparaju` |
Posted: Tue Sep 09, 2008 9:36 pm Post subject: Copy some specified number of messages |
|
|
Acolyte
Joined: 26 Aug 2008 Posts: 72
|
Hello All,
I have a Problem, I have to Copy some specified number of messages from Source Queue to Destination Queue.When I am trying to copy only the first message is copying so many number of times to the Destination Queue.How to move the pointer to the next message and copy the remaining messages.
I have opened the First Queue in BROWSE mode and Second Queue in OUTPUT Mode. I have tried all the options. I am coding in .NET. I am not able to move the Pointer to the next message.Can any one tell me how to move the pointer to the next message.
Please help Me,
Thanks in Advance,
Vijay....
EDIT : Changed the subject @AkankshA |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Sep 09, 2008 10:33 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
is it; this month challenge question? _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
dgolding |
Posted: Wed Sep 10, 2008 12:34 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Somebody has stolen my MQ mug; I will answer this one and win the prize! Coffee doesn't taste the same without it....  |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Sep 10, 2008 1:09 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
|
Back to top |
|
 |
VijayGoparaju` |
Posted: Wed Sep 10, 2008 1:11 am Post subject: |
|
|
Acolyte
Joined: 26 Aug 2008 Posts: 72
|
Dont Post comments try to help.... |
|
Back to top |
|
 |
Gaya3 |
Posted: Wed Sep 10, 2008 1:19 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
VijayGoparaju` wrote: |
Dont Post comments try to help.... |
why you couldnt able to understand, what others posted in your earlier thread...
Read, browse, and work out...
Mods: Please lock this or delete this thread,as there is already a thread going parallely _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
dgolding |
Posted: Wed Sep 10, 2008 1:28 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
If you had used a real programming language you'd be able to work it out:
#define MQGMO_BROWSE_FIRST 0x00000010
#define MQGMO_BROWSE_NEXT 0x00000020
Quote: |
VijayGoparaju` wrote:
Dont Post comments try to help.... |
This forum is maintained voluntarily, nobody is under any compunction to fix your trivial query that a five minute read of the manual and a basic understanding of browsing through an input stream would have solved
Where's my mug? |
|
Back to top |
|
 |
exerk |
Posted: Wed Sep 10, 2008 1:34 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
VijayGoparaju` wrote: |
Dont Post comments try to help.... |
People are trying to help...lighten up.
The fact is you posted this in the wrong forum, so expect a bit of levity and humour as a nice way of pointing out that fact to you - there is nothing personal meant.
Also if you search this site you will find a number of threads asking the same question you have, and the answer(s) to that question. _________________ 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 |
|
 |
AkankshA |
Posted: Wed Sep 10, 2008 2:23 am Post subject: Copy some specified number of messages |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
@ moved to correct forum and changed the subject _________________ Cheers |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Sep 10, 2008 4:00 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I just noticed exerk's tagline:
Quote: |
It's puzzling, I don't think I've ever seen anything quite like this before... |
And I'm going to have to say that it is puzzling that I have seen something about copying messages before....  |
|
Back to top |
|
 |
exerk |
Posted: Wed Sep 10, 2008 4:13 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
bower5932 wrote: |
I just noticed exerk's tagline:
Quote: |
It's puzzling, I don't think I've ever seen anything quite like this before... |
And I'm going to have to say that it is puzzling that I have seen something about copying messages before....  |
Am I being deeply ironic, or will I soon start to sing 'Daisy, Daisy...'?  _________________ 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 |
|
 |
PeterPotkay |
Posted: Wed Sep 10, 2008 5:33 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 10, 2008 5:50 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
PeterPotkay wrote: |
6 threads by the same author for the same problem. |
See, they don't teach the children C these days, so they don't understand the difference between Addition and Binary And. |
|
Back to top |
|
 |
exerk |
Posted: Wed Sep 10, 2008 6:07 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Daisy, Daisy give me your answer do... _________________ 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 |
|
 |
VijayGoparaju` |
Posted: Thu Sep 11, 2008 2:32 am Post subject: |
|
|
Acolyte
Joined: 26 Aug 2008 Posts: 72
|
The Problem is Solved.Close this Issue... |
|
Back to top |
|
 |
|