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 » User ID in Report messages

Post new topic  Reply to topic
 User ID in Report messages « View previous topic :: View next topic » 
Author Message
shalabh1976
PostPosted: Fri Oct 21, 2005 3:15 am    Post subject: User ID in Report messages Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I have two user id's on my machine say A and B.
I login as A and put a message in Queue Q1 with report option COD and Reply to q as Q2 and logout
I now login as B and read the message from queue Q1. A report is generated and goes to Q2 with userid showing as A.

I believe this is normal behaviour.
I wanted to know the circumstances when the userid will show as B for this report msg.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Mr Butcher
PostPosted: Fri Oct 21, 2005 3:47 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

hey, you are certified. how did you made it without reading manuals?maybe ibm should include a question in the certification exam that is related to "how do you read and search in mqseries manuals"...


nevermind.... from the security manual:

Quote:
In certain circumstances, when a report message is generated, it is put using the authority of the user ID in the UserIdentifier field of the message causing the report.
In particular, confirm-on-delivery (COD) reports and expiration reports are always put with this authority.

_________________
Regards, Butcher
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Fri Oct 21, 2005 4:04 am    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

Mr. Butcher,
I understand your concerns.
It seems that only people who score 100% should get certified and the certificate should be reviewed every month to check if they remember everything.
You are free to write to IBM with your concerns.
I would never have asked the question if something abnormal was not happening.
That is why I wanted to know the circumstances when this could happen.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Mr Butcher
PostPosted: Fri Oct 21, 2005 4:22 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

hey, cool down. i found it wihtin 15 seconds in the mqseries security manual, thats why i was a little bit upset maybe.

anyway, please take my excuses for what i have written above... people like shanta make my type faster than i can think

I hope the technical part of the answer was of use anyway...
_________________
Regards, Butcher
Back to top
View user's profile Send private message
hopsala
PostPosted: Fri Oct 21, 2005 5:48 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

shalabh1976 wrote:
I would never have asked the question if something abnormal was not happening.

You could have easily found this, after all... But no hard feelings.

Anyway, what is this "abnormal something" that happens? maybe we can help (or were you referring to said UserId authority behavior?).
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Sun Oct 23, 2005 7:41 pm    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

Well, let me explain what is actually happening:
I have been recently asked to look at some message flows (MQSI/WMQI) by my client.
In many of the flows, a report message is generated.
Most of the times the user id in the report message is the user who put in the original message in the queue for which the report message is generated. However in 2 scenarios the user id is getting changed.
The client wants the user id to be the original user who puts in the message always.
I have found no code in MQSI/WMQI where the user id is explicitly changed.
This makes me suspect that the user id has somehow changed on the MQ side.
The output of the message flows which have this problem is sent to remote systems using remote queues, which I cannot see/ don't have access to.
To me it appears that one of the remote queue managers has changed the user id so that when the report message is generated the new user id is getting set in the report .
What do you think ?
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Mr Butcher
PostPosted: Sun Oct 23, 2005 9:28 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

stop the channel on the lokal end browse the xmitq to see if the userid is still what it should be. if so, then mq is fine and the userid is changed at the remote end.

some shops use message exits to change some values in the md of the receiving messages, this could also be the userid (e.g. not to run into security errors if the remote end changes the userid or or)
_________________
Regards, Butcher
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Sun Oct 23, 2005 10:27 pm    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

Let me check on my end on whatever systems I have access to.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
fjb_saper
PostPosted: Mon Oct 24, 2005 12:43 am    Post subject: Reply with quote

Grand High Poobah

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

You might as well want to check the MCAUSER on sender and receiver channels...
Back to top
View user's profile Send private message Send e-mail
hopsala
PostPosted: Mon Oct 24, 2005 1:53 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

shalabh1976 wrote:
However in 2 scenarios the user id is getting changed.

Ok, so two important questions arise: What are these "2 scenarios"? And what is the userid that you see instead of the one you expect?
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Wed Nov 02, 2005 12:15 am    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

Fixed:
The problem was in the settings in the MQOutput node of MQSI.
Here when the put was being performed the useridentifier was changed to the default, i.e. the user id of the id that started the broker.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » User ID in Report messages
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.