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 Discussion » MQFTRCV and MQFTRCVC

Post new topic  Reply to topic
 MQFTRCV and MQFTRCVC « View previous topic :: View next topic » 
Author Message
tnana
PostPosted: Wed Oct 10, 2007 8:48 am    Post subject: MQFTRCV and MQFTRCVC Reply with quote

Novice

Joined: 06 Oct 2004
Posts: 14

Hi,

I have already searched and did not find any answer to my issue.

I have a queue manager on Linux box where MQFTRCV works fine.

I tried to run MQFTRCVC from a W2K3 box where MQ Server 6 is installed.

I set MQSERVER variable and tried this command:

mqftrcv -q THE_QUEUE -m THE_QM -l

But got error: AMQ7780: Cannot connect to queue manager 'THE_QM'

Then I set GMQ_MQ_LIB=mqic32.dll to force to use MQ Client on this machine where server is also installed. But I got same error.

Then I tried from a Windows XP machine where only MQ Client 6 is installed but getting same error.

Don't want to use MQFTRCV on Linux box as the ultimate target for the file is W2K3. Don't want to have Samba mount if not absolutely necessary.

Any ideas ?

Thanks
Back to top
View user's profile Send private message
tnana
PostPosted: Wed Oct 10, 2007 12:09 pm    Post subject: Re: MQFTRCV and MQFTRCVC Reply with quote

Novice

Joined: 06 Oct 2004
Posts: 14

tnana wrote:

I set MQSERVER variable and tried this command:

mqftrcv -q THE_QUEUE -m THE_QM -l



Correction.

The command should read

mqftrcvc -q THE_QUEUE -m THE_QM -l[/b]
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Oct 10, 2007 12:38 pm    Post subject: Re: MQFTRCV and MQFTRCVC Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

tnana wrote:
Any ideas ?

To progress with such an issue you'll need to take a look in the AMQERR01.LOG files on client and server.

By the way, I think GMQ_MQ_LIB relates only to applications on Windows using the COM classes (ie. MQAX200.DLL) .. correct me if I'm wrong. If I got this right, it should not have any effect on applications coded using the C MQI.
Back to top
View user's profile Send private message
tnana
PostPosted: Fri Oct 12, 2007 12:37 pm    Post subject: Re: MQFTRCV and MQFTRCVC Reply with quote

Novice

Joined: 06 Oct 2004
Posts: 14

mvic wrote:
tnana wrote:
Any ideas ?

To progress with such an issue you'll need to take a look in the AMQERR01.LOG files on client and server.

By the way, I think GMQ_MQ_LIB relates only to applications on Windows using the COM classes (ie. MQAX200.DLL) .. correct me if I'm wrong. If I got this right, it should not have any effect on applications coded using the C MQI.


Thanks.

I could not find anything in the AMQERR01.LOG

I started trace in the server and found that it was authorization issue.

Once the user on Windows was granted permission to connect to queue manager and queue, the MQFTRCVC worked and returned list of files.
Back to top
View user's profile Send private message
tnana
PostPosted: Thu Oct 25, 2007 10:47 am    Post subject: Re: MQFTRCV and MQFTRCVC Reply with quote

Novice

Joined: 06 Oct 2004
Posts: 14

tnana wrote:
Once the user on Windows was granted permission to connect to queue manager and queue, the MQFTRCVC worked and returned list of files.


Tested with just listing the files and then modified to extract files and send notification e-mail.

But we receive 6 e-mail messages for 3 files.

We receive 3 files on the queue at certain time of the day and script gets called. So I can understand getting 3 e-mail messages. But the script gets called 3 more times. It does not hurt as it just copies same files again but getting 3 more e-mail messages is annoying.

I'm wondering why does MQ put extra trigger messages on the initiation queue.

Thanks for any help.
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 » General Discussion » MQFTRCV and MQFTRCVC
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.