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 Installation/Configuration Support » I need to stamp the userid in the message on AIX

Post new topic  Reply to topic
 I need to stamp the userid in the message on AIX « View previous topic :: View next topic » 
Author Message
dblack9
PostPosted: Sun Sep 12, 2004 5:31 pm    Post subject: I need to stamp the userid in the message on AIX Reply with quote

Newbie

Joined: 13 Jun 2003
Posts: 3
Location: Boulder, CO USA

I have a customer who requires every message sent to him have a userid he has selected written to it. I have the mcauser param on the sdr channel set to the special userid and the receiver channel has putaut set to context.

I use amqsput to put the message on the remote queue and when I browse the message on the local queue it has the userid amqsput ran under, not the one specified in mcauser.

The application which actually puts the message on the remote queue is being modified, but is still in test and customer wants to test now.
Back to top
View user's profile Send private message
leongor
PostPosted: Mon Sep 13, 2004 2:38 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

MCA user is used by channels (Sender/Receiver) as alternate user for MQOPEN. It doesn't get to Context in MQMD (except z/OS I think).
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Sep 13, 2004 4:52 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Use amqsputc, the client version. On the SVRCONN channel you use to connecto to the QM, set the MCAUSER ID to the ID that you want. All the messages will have that ID.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Nigelg
PostPosted: Tue Sep 14, 2004 12:21 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

For a server app (amqsput not amqsputc), I expect that using the MQPMO options to set the context (MQPMO_SET_ALL_CONTEXT) in a msg will do what you want.
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 Installation/Configuration Support » I need to stamp the userid in the message on AIX
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.