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 » How on earth do i specify the port/client channel/DNS Name

Post new topic  Reply to topic
 How on earth do i specify the port/client channel/DNS Name « View previous topic :: View next topic » 
Author Message
noodles
PostPosted: Mon Jun 28, 2004 1:15 pm    Post subject: How on earth do i specify the port/client channel/DNS Name Reply with quote

Newbie

Joined: 28 Jun 2004
Posts: 5

How on earth do i specify the port/client channel/DNS Name (or IP address) using the CONNX call???

I have searched and searched and can't find the answer to this. My app works using the environment variables, but i want an easy way for them to edit an INI file and have it go to the right place, I cannot find any help on this or a simple example anywhere. If anyone could help me out on this, it would be greatly appreciated.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 28, 2004 1:52 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Check out the manual. You need to use a specific structure and pass/attach it to the CONNX call.
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Mon Jun 28, 2004 1:54 pm    Post subject: Reply with quote

Jedi Knight

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

You need to fill in the MQCD (ClientConnPtr) part of the MQCNO that you pass into the MQCONNX. There are some details in the MQCNO section of the Application Programming Reference on using the MQCD. The details of the MQCD are in the Intercommunication manual.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
noodles
PostPosted: Mon Jun 28, 2004 2:15 pm    Post subject: Reply with quote

Newbie

Joined: 28 Jun 2004
Posts: 5

I've been trying the manuals for hours. Is there a simple example somewhere i can have a look at?
Back to top
View user's profile Send private message
noodles
PostPosted: Mon Jun 28, 2004 2:17 pm    Post subject: Reply with quote

Newbie

Joined: 28 Jun 2004
Posts: 5

Also, if i try to declare an MQCD variable, I get an error stating that it's an undeclared identifier....
Back to top
View user's profile Send private message
clindsey
PostPosted: Mon Jun 28, 2004 2:53 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Take a look at amqscnxc.c among the samples shipped with MQ.

Charlie
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 » How on earth do i specify the port/client channel/DNS Name
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.