ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Copy some specified number of messages

Post new topic  Reply to topic Goto page 1, 2  Next
 Copy some specified number of messages « View previous topic :: View next topic » 
Author Message
VijayGoparaju`
PostPosted: Tue Sep 09, 2008 9:36 pm    Post subject: Copy some specified number of messages Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Tue Sep 09, 2008 10:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
dgolding
PostPosted: Wed Sep 10, 2008 12:34 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Mr Butcher
PostPosted: Wed Sep 10, 2008 1:09 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

afaik thee is a thread for this, and a lot of recommendations, i dont think this is the actual challenge.

here is the tread.

http://www.mqseries.net/phpBB/viewtopic.php?p=223803&sid=629303a0095dd17a3585b2dd1d45334c

@VijayGoparaju - i am not a moderator here, but i think it is better to stay with your thread.
_________________
Regards, Butcher


Last edited by Mr Butcher on Wed Sep 10, 2008 1:12 am; edited 1 time in total
Back to top
View user's profile Send private message
VijayGoparaju`
PostPosted: Wed Sep 10, 2008 1:11 am    Post subject: Reply with quote

Acolyte

Joined: 26 Aug 2008
Posts: 72

Dont Post comments try to help....
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Sep 10, 2008 1:19 am    Post subject: Reply with quote

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
View user's profile Send private message
dgolding
PostPosted: Wed Sep 10, 2008 1:28 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
exerk
PostPosted: Wed Sep 10, 2008 1:34 am    Post subject: Reply with quote

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
View user's profile Send private message
AkankshA
PostPosted: Wed Sep 10, 2008 2:23 am    Post subject: Copy some specified number of messages Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

@ moved to correct forum and changed the subject
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
bower5932
PostPosted: Wed Sep 10, 2008 4:00 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
exerk
PostPosted: Wed Sep 10, 2008 4:13 am    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Wed Sep 10, 2008 5:33 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

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....


6 threads by the same author for the same problem.

http://www.mqseries.net/phpBB2/viewtopic.php?p=224588&highlight=#224588

http://www.mqseries.net/phpBB2/viewtopic.php?p=224586&highlight=#224586

http://www.mqseries.net/phpBB2/viewtopic.php?p=224587&highlight=#224587

http://www.mqseries.net/phpBB2/viewtopic.php?p=223943&highlight=#223943

http://www.mqseries.net/phpBB2/viewtopic.php?p=223745&highlight=#223745

http://www.mqseries.net/phpBB2/viewtopic.php?p=223626&highlight=#223626
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 10, 2008 5:50 am    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Wed Sep 10, 2008 6:07 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

PeterPotkay wrote:
6 threads by the same author for the same problem.

http://www.mqseries.net/phpBB2/viewtopic.php?p=224588&highlight=#224588

http://www.mqseries.net/phpBB2/viewtopic.php?p=224586&highlight=#224586

http://www.mqseries.net/phpBB2/viewtopic.php?p=224587&highlight=#224587

http://www.mqseries.net/phpBB2/viewtopic.php?p=223943&highlight=#223943

http://www.mqseries.net/phpBB2/viewtopic.php?p=223745&highlight=#223745

http://www.mqseries.net/phpBB2/viewtopic.php?p=223626&highlight=#223626


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
View user's profile Send private message
VijayGoparaju`
PostPosted: Thu Sep 11, 2008 2:32 am    Post subject: Reply with quote

Acolyte

Joined: 26 Aug 2008
Posts: 72

The Problem is Solved.Close this Issue...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » Copy some specified number of messages
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.