Posted: Wed Jun 05, 2002 5:30 am Post subject: MQ Client Can't Open Queue - link problen??
Newbie
Joined: 05 Jun 2002 Posts: 4 Location: Danvers Massachusetts
here is the situation. I have an MQ Client set up on and IBM AIX server. The connections to the Queumanager is up and running. WHen i run the sample AMQSPUTC it works fine. When I compile the souce AMQSPUTC source and run the pgm I get a 2018 error on the MQOPEN. I'm thinking its a linkage problem. I checked my makefile and it looks OK.. Any ideas would be greatly apprecieated
thanks
Mark
Posted: Wed Jun 05, 2002 12:34 pm Post subject: Re: MQ Client Can't Open Queue - link problen??
Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
Mark1512 wrote:
here is the situation. I have an MQ Client set up on and IBM AIX server. The connections to the Queumanager is up and running. WHen i run the sample AMQSPUTC it works fine. When I compile the souce AMQSPUTC source and run the pgm I get a 2018 error on the MQOPEN. I'm thinking its a linkage problem. I checked my makefile and it looks OK.. Any ideas would be greatly apprecieated
thanks
Mark
Mark, I have one idea: could you post your makefile so we can actually see how you build the executable?
Stefan _________________ Stefan Sievert
IBM Certified * WebSphere MQ
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
Hi,
2018 means Connection handle not valid. So the quick question is "Did you add/delete/update some of the 'C' code in AMQSPUTC"? Did you change / replace the "Hcon" variable on either MQCONN or MQOPEN?
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