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 » MQCONNX sample code - silent error

Post new topic  Reply to topic
 MQCONNX sample code - silent error « View previous topic :: View next topic » 
Author Message
romudd
PostPosted: Mon Feb 14, 2005 5:30 am    Post subject: MQCONNX sample code - silent error Reply with quote

Apprentice

Joined: 12 Aug 2003
Posts: 31
Location: Sao Paulo - Brazil

Hi,

I'm trying to compile the amqscnxc sample code in a Linux machine. That's what I did:

gcc -o amqscnxc.exe -lmqm amqscnxc.c

There are no errors or warnings in the compilation, but the executable doesn't work: it just says "Connection established to queue manager TESTE", and there is no actual connection. No matter the state of the remote QM, the client always returns that message.

The precompiled binary is working correctly. Is there any error in the command line above?
Back to top
View user's profile Send private message MSN Messenger
Nigelg
PostPosted: Mon Feb 14, 2005 5:44 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

You should link the app with the client lib, -lmqic.
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 » MQCONNX sample code - silent error
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.