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 » IBM MQ API Support » File Transfer Tool

Post new topic  Reply to topic
 File Transfer Tool « View previous topic :: View next topic » 
Author Message
gh
PostPosted: Tue Aug 15, 2006 11:25 pm    Post subject: File Transfer Tool Reply with quote

Novice

Joined: 12 Aug 2006
Posts: 14
Location: eq

Hi All,

I'm facing problem with file transfer tool.
mqftrcvc (Receive file on client) - not working with Non-Default Queue manager.
Can someone help me
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
sebastianhirt
PostPosted: Tue Aug 15, 2006 11:29 pm    Post subject: Re: File Transfer Tool Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

gh wrote:
Can someone help me


Oh yes, Mr Manual can help you. And he is really irritated that you didn't ask him in the first place. That's at least what he told me.

Try this:

Code:
Optional parameters
-m QMgrName
The name of the queue manager that hosts the destination queue. A queue manager that does not have the File Transfer Application installed can be specified. If you omit this parameter, the default queue manager is used.
Back to top
View user's profile Send private message
gh
PostPosted: Wed Aug 16, 2006 12:00 am    Post subject: File Transfer Tool Reply with quote

Novice

Joined: 12 Aug 2006
Posts: 14
Location: eq

I'm already using that parameter but it's giving me error.

Command i've used : mqftrcvc -q Queue1 -m QM2 -e

Error : AMQ7780: Cannot connect to queue manager 'QM2'
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
sebastianhirt
PostPosted: Wed Aug 16, 2006 12:26 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

Ah, ok. In this case I appologize for the sarcasm.

Have you tried some of the sample programms?
If the queue manager is not local to you. Have you set MQSERVER or the Channel tab correctly?
Back to top
View user's profile Send private message
gh
PostPosted: Wed Aug 16, 2006 12:50 am    Post subject: File Transfer Tool Reply with quote

Novice

Joined: 12 Aug 2006
Posts: 14
Location: eq

It's ok
Let me tell you current situation.
I've Two Queue manager on single server and I want to access both QMs from the system where MQ Client 6.0 installed.
mqftrcvc is working fine for First Queue manager that is Default Queue manager.
Could you plz tell me what should I set in MQSERVER if I want to access multiple Queue managers.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Vitor
PostPosted: Wed Aug 16, 2006 12:53 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

AFAIK MQSERVER only allows a connection to a single queue manager. To connect to multiple qms from a client you'll need a client connection table.

And I'm unconvinced (though ready to be convinced) that the file transfer tool as supplied will work this way.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gh
PostPosted: Wed Aug 16, 2006 1:15 am    Post subject: File Transfer Tool Reply with quote

Novice

Joined: 12 Aug 2006
Posts: 14
Location: eq

Thanks Vitor
I've to use this Tool beocz some other application will put files in Queues of different Queue manager and my application will dump those files on client machine to read them.
Please suggest if you could do this in some other way.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
sebastianhirt
PostPosted: Wed Aug 16, 2006 1:24 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

If all you really want to do is reading files from a queue, ther are two solutions on top of my head. (There might be even more)

PM4DATA is a product that is designed to load and unload files from queues. It is originally designed as add-on to the Message Broker, but might do for your purposes as well.

Writing your own application. In Java this is a rather easy job to do. (A lot of things to think about though)
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 16, 2006 1:27 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Files placed in queues are just messages. They can be moved around in any number of ways - it's what MQ does!

So all you need to do is either a) move all the files to a single queue manager via MQ where your client app will read them or b) use a client connection table to link your client to the other queue managers and read them.

There are many ways to achieve this, and more options than those two if you think about it. Publications like the Clients & Intercommunication manuals will be your friends in this endevour.

Happy Reading!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » File Transfer Tool
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.