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 » mca user id

Post new topic  Reply to topic
 mca user id « View previous topic :: View next topic » 
Author Message
vam
PostPosted: Mon May 02, 2011 1:31 pm    Post subject: mca user id Reply with quote

Acolyte

Joined: 16 Mar 2010
Posts: 70

any command to find mca userid in unix and windows ?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon May 02, 2011 2:58 pm    Post subject: Reply with quote

Poobah

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

Yes, use the runmqsc control program to display the definition of the channel. Hers's the MQSC command: DISPLAY CHL(channelnamegoeshere).
_________________
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
fjb_saper
PostPosted: Mon May 02, 2011 8:25 pm    Post subject: Reply with quote

Grand High Poobah

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

Let's take the extreme view.
The OP is running a Unix process under mqm and using runmqtrc against a Windows qmgr without a channel MCAUSERID set.

It would follow that the C program is passing the userid it is running under (namely mqm) and thus failing because this is not a valid Windows Id.

Set up a dedicated svrconn channel with MCAUSERID in windows (using a relevant windows id) for this process.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Mon May 02, 2011 10:55 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

If you want to see what MCA userid is actually being used on an active channel - display channel status (not definition).
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue May 03, 2011 5:38 am    Post subject: Reply with quote

Poobah

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

zpat wrote:
If you want to see what MCA userid is actually being used on an active channel - display channel status (not definition).


This will, in most instances, be the same userid named in the MCAUSER() attribute of the channel definition.
_________________
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
zpat
PostPosted: Tue May 03, 2011 6:16 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

But not if the defined MCA user is blank, or if you use a channel security exit.

In our case every channel definition has "nobody" in it and the actual MCA userid is always set by the security exit.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue May 03, 2011 6:44 am    Post subject: Reply with quote

Poobah

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

I'm pondering how (un)common security exits are...
_________________
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
zpat
PostPosted: Tue May 03, 2011 7:04 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Displaying the channel status will give the answer in either case, if the channel is active.
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 » mca user id
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.