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 IBM MQ Support » amqsput

Post new topic  Reply to topic
 amqsput « View previous topic :: View next topic » 
Author Message
Trainee
PostPosted: Thu Oct 01, 2009 12:59 pm    Post subject: amqsput Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Hi ,

We enabled SSL on Qmgr and changed MCAUSER of SYSTEM.DEF.SVRCONN to some junk.Wonder how amqsput sample program can connect to Qmgr and able to load the messages to specfied Queue.Means it does't use any SVRCONN Channels at all to connect.

Thank you
Trainee
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 01, 2009 1:05 pm    Post subject: Re: amqsput Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Trainee wrote:
Means it does't use any SVRCONN Channels at all to connect.


No, it doesn't. The amqsputc uses these client objects; amqsput does not.

Hence the subtle difference in names.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Oct 01, 2009 3:35 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

IBM provides C source for its utilities, and executables in both client- and server-bindings. The client versions of the utilities are suffixed with c - like amqaputc.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Trainee
PostPosted: Tue Oct 06, 2009 10:14 am    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Thanks, then how does amqsput connect to Qmgrs.

Trainee
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 06, 2009 10:20 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Trainee wrote:
Thanks, then how does amqsput connect to Qmgrs.


As my associate has already told you, there are 2 kinds of connection - client and binding. As amqsputc uses client it should be fairly obvious that the other version uses binding.

These connection types are described in the documentation much more intelegently than I could do here.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
dk27
PostPosted: Tue Oct 06, 2009 11:01 am    Post subject: Reply with quote

Acolyte

Joined: 28 Apr 2008
Posts: 51

It uses MQI
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Oct 06, 2009 11:48 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

You pass parameters to the amqsput and amqsputc program. Take a look at http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqzal.doc/fg17150_.htm
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Trainee
PostPosted: Wed Oct 07, 2009 9:43 am    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Then,

How does bind mode amqsput connects to Qmgr...with out SVRCONN Channel,Port etc

Trainee
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Oct 07, 2009 9:48 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Server bindings mode MQCONNects cross-memory. Client bindings mode MQCONNects to a SVRCONN channel.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 IBM MQ Support » amqsput
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.