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 » URGENT : COPY MESSAGE !!!!!!!!!!!!

Post new topic  Reply to topic Goto page Previous  1, 2
 URGENT : COPY MESSAGE !!!!!!!!!!!! « View previous topic :: View next topic » 
Author Message
kavithadhevi
PostPosted: Fri Sep 13, 2002 7:28 am    Post subject: Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Peter,
As you metioned,i dont see any version on that application window and i dont see any specification you have mentioned above.
Can you please let me know again where the download is and steps to copy messages.
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PeterPotkay
PostPosted: Fri Sep 13, 2002 8:03 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

Once the WatchQ app pops up, maximize the window so it fill your screen.
On the top right hand quarter of the screen, you will see something called Program Controls. under program Controls, you should see in the following order Stay On Top, %Warning, Refresh Rate, and Confirm Delete. Below Confirm Delete is the Version #.

On the bottom left of the maximized window is a section called Generate Test Message(s).

Do you see all these things?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
kavithadhevi
PostPosted: Fri Sep 13, 2002 8:35 am    Post subject: Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Peter,
Yes i do see all these, but wheres is the option for copying messages from one q to another ?
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kavithadhevi
PostPosted: Fri Sep 13, 2002 9:35 am    Post subject: Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Please anybody could help me out in the logic for this copying , i am trying to write my own application.
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PeterPotkay
PostPosted: Fri Sep 13, 2002 9:50 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

OK if you see the generate section you're almost there.

First, fill in the Number of messages to generate (in your case this is how many copies you want.) It is defaulted to 5.

Then, about 3 inches to the right is a section called source. It is defaulted to File. Instead, check the radio button that is marked Queue. In the box type in the name of the local queue that has the message you want to copy.

Now go back up to the top of the screen, check the radio button next to the queue you want to send the messages to, and then click on the vertical generate button.

WatchQ will copy the message from the queue you have named as source to the queue you have marked as generate.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
kavithadhevi
PostPosted: Fri Sep 13, 2002 9:59 am    Post subject: Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Peter,
Thanks a lot It works.
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JWJ
PostPosted: Fri Sep 13, 2002 10:57 am    Post subject: Reply with quote

Novice

Joined: 13 Jun 2002
Posts: 18
Location: Farmers Insurance Group

Just a comment..... the answer to your question can depend on which platform the QMGR is running on. If your on OS390-- the ISPF panels that come with the product includes a utility that can be used to copy a queue. My experience is limited to the OS390 environment so I can't help out of your on another platform.
Good luck solving your problem....

Jerry
_________________
JWJ
Back to top
View user's profile Send private message
kavithadhevi
PostPosted: Mon Sep 16, 2002 5:17 am    Post subject: Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Hi,
I have a java application, which i would like to explain first then tell my problem with it.

1. Java application has 2 set of code, 1 - does the browsing with wait time, until a message is put in the QL - works fine.
2. Makes a copy of it and puts in another QL - works fine.

Now , my probelm is while waiting for the message to be put in the QL until then the application waits. once message arrives , it copies and ends the application, i wanted to keep the connection open and keep listening for the messages to be put in the QL until it is terminated. Hope i made myself clear. Please suggest me how to keep it runnuing forever waiting for messages, even after a message arrives, it shouldnt close like a loop.
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
RogerLacroix
PostPosted: Mon Sep 16, 2002 8:44 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

What is wrong with:
Code:
while(true)
{
}


You will "catch" the 2033 (no message available) outside the loop.

Might I suggest you take a MQ Java programming course. IBM has some pretty good ones.

later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
amar
PostPosted: Tue Sep 17, 2002 11:15 pm    Post subject: Reply with quote

Apprentice

Joined: 27 Jun 2002
Posts: 45

Hi

Using java you write thread program.
That program will wait at the receiver end whenever the message has come it will receive ...... (this separete thread process will increase performance also)
the same way i am doing my programs, it is wroks fine.

best of luck

amar
Back to top
View user's profile Send private message
kavithadhevi
PostPosted: Thu Sep 19, 2002 9:59 am    Post subject: Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Hi ,
Thank you all for your valuable suggestions on this posting. I was able to learn new things from the suggestions and postings. Now i am able to copy messages, as it was a urgent issue, for now i am using the mirrorq from the software repository and made few customized changes and it works like a charm.
Thanks for the software repository and the application developers,which helps a lot.
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kavithadhevi
PostPosted: Fri Sep 20, 2002 4:18 am    Post subject: Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Hi,
With the Mirrorq application which i downloaded from the software repository, as it was getting a destructive get option, i changed it to browse instead. It is working as it has to, but when i implemented the same on the dev sys to make a copy of messages passing by within few seconds, this is creating problem with the application and it keeps a lot of open again the specific Queue, i dont know what to do , as this is creating some problem interrupting the flow and a lot of opens.
Need some help ASAP.
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
RogerLacroix
PostPosted: Fri Sep 20, 2002 12:17 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

I am not sure if I understand your problem but it sounds like one of the applications is opening the queue exclusively.

Change both mirroq and the other application to open the queue with MQOO_INPUT_SHARED.

later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
kavithadhevi
PostPosted: Mon Sep 23, 2002 4:51 am    Post subject: Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Hi,
Yes i am using INPUT_SHARED for the Queue, but my concern is why is not working when i am running multiple applications. The only change i made is instead of destructive GET i am using a BROWSE option on Queue and BROWSE_NEXT on the GMO option. Am i right in what i am doing? please send in information which would hepl me.
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kavithadhevi
PostPosted: Tue Oct 01, 2002 5:28 am    Post subject: Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Thank you all for your timely suggesstions and help.
I was successfully able to manipulate and copy messages. Thanks a lot again and i appreciate everyones precious spent for me.
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » URGENT : COPY MESSAGE !!!!!!!!!!!!
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.