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 » Unable to put/get msg by executing C APIs from mapped drive

Post new topic  Reply to topic
 Unable to put/get msg by executing C APIs from mapped drive « View previous topic :: View next topic » 
Author Message
aleanand
PostPosted: Fri Aug 26, 2005 3:42 pm    Post subject: Unable to put/get msg by executing C APIs from mapped drive Reply with quote

Newbie

Joined: 11 Jun 2004
Posts: 3

Hello,
I am running succesfully C APIs and able to add/remove messages from MQ Series fine as long as the exe is in local drive C/D drive.

But it gives error#2195 when I run my exe from a mapped drive.
I am Using MQ client & server version 5.2

Also I could not find any error log in unix under "/var/mqm/qmgrs/errors"

Please Help !

- Anand
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Aug 27, 2005 5:14 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

On unix, there will be /var/mqm/errors, and /var/mqm/qmgrs/<qmgr name>/errors.

You will not be able to run your code on a machine that does not have the MQClient installed on it.

Your program should work just fine from any drive, otherwise.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Sat Aug 27, 2005 7:43 am    Post subject: Reply with quote

Jedi Knight

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

Hi,

On Windows, I run my MQ programs from mapped drives all the time. But you have to remember rule #1: you must have either MQ Server or MQ Client on the PC that is actually executing the MQ program from the mapped drive.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
bower5932
PostPosted: Mon Aug 29, 2005 7:42 am    Post subject: Re: Unable to put/get msg by executing C APIs from mapped dr Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

aleanand wrote:
I am Using MQ client & server version 5.2


and I'd also suggest that you consider upgrading. 5.2 is long out of service and 6.0 shipped just a few months back.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
aleanand
PostPosted: Mon Aug 29, 2005 2:38 pm    Post subject: Reply with quote

Newbie

Joined: 11 Jun 2004
Posts: 3

I have MQ client installed on the PC that is actually executing the MQ program from the mapped drive.

I also see that paths were set on the PC where I am trying execute .exe file.

But it worked when I copied the all the client dll files onto the mapped drive.

Regards,
Anand.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 30, 2005 4:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

aleanand wrote:
But it worked when I copied the all the client dll files onto the mapped drive.


That means that the MQ dlls were not actually on the path that the program was using.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Tue Aug 30, 2005 10:34 am    Post subject: Reply with quote

Jedi Knight

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

jefflowrey wrote:
aleanand wrote:
But it worked when I copied the all the client dll files onto the mapped drive.


That means that the MQ dlls were not actually on the path that the program was using.

Or he did not reboot after installing MQ Client.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Unable to put/get msg by executing C APIs from mapped drive
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.