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 » MQMD-USERIDENTIFIER case changes

Post new topic  Reply to topic
 MQMD-USERIDENTIFIER case changes « View previous topic :: View next topic » 
Author Message
leomelita
PostPosted: Wed Feb 16, 2005 5:29 am    Post subject: MQMD-USERIDENTIFIER case changes Reply with quote

Newbie

Joined: 16 Feb 2005
Posts: 1

We have an in-house app that sends a msg from z/OS (MQ 5.3) to HP-UX (MQ 5.2) setting the useridentifier context info to "AAbbbbb" (mixed case). When the msg is viewed on the UNIX platform the useridentifier appears as "aabbbbb" (all lowercase). This has caused authorization issues (2035) in attempting to return a COD report msg. We added a userid to the UNIX platform "aabbbbb" as a work-around. The COD report msgs are now received on the z/OS platform but the useridentifier appears as "AABBBBB" (all uppercase). The message data is mixed case and this is preserved in both directions! What controls this behavior?

Thanx!
Back to top
View user's profile Send private message
Eyal_Pu
PostPosted: Wed Feb 16, 2005 7:26 am    Post subject: Reply with quote

Newbie

Joined: 05 Nov 2003
Posts: 4

All you described are normal behaviors.

Unix works with lowercase user names.
Z/OS works with uppercase user names.
All of this is normal and part of the operation system.

On the other hand, MQ does not touch the data you send from side to side, since it can contain any number of things (files, numbers and more).

So there is nothing to worry about.
Back to top
View user's profile Send private message MSN Messenger
bbburson
PostPosted: Wed Feb 16, 2005 7:36 am    Post subject: Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

Eyal_Pu wrote:
Unix works with lowercase user names.


Nonsense. UNIX user names can be lowercase, uppercase, or mixed and IT DOES MAKE A DIFFERENCE. The convention is to always make them lowercase but that's not a restriction imposed by the OS.
Back to top
View user's profile Send private message
kman
PostPosted: Mon Feb 21, 2005 10:10 pm    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2003
Posts: 309
Location: Kuala Lumpur, Malaysia

can you provide your code snippet for the userid context setting here? from both sides?
it should not be changed in any way by WMQ, so we should try to inspect the code and how the setting/userid assignment is made. What is displayed when viewed (MQMD headers) normally is based on what was used. i.e., if you set the MQMD Userid value in mix case, the displayed should also be in mix case.

The COD failure report should also explain the reason for failure (in DLQ).
Back to top
View user's profile Send private message Yahoo Messenger
markt
PostPosted: Mon Feb 21, 2005 11:14 pm    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

Because Unix userids are NORMALLY (though not always) in lowercase, and the userid on most other platforms is normally in uppercase (case insensitive), MQ will by default change the case of a userid to the appropriate kind for the platform. If you don't like that behaviour then instlaling a message exit for the channel - which does not have to actually do any work - will inhibit it.

Quoting from the books:

Platforms other than Windows systems and UNIX systems use uppercase characters for user IDs. To allow Windows systems and UNIX systems to use lowercase user IDs, the following conversions are carried out by the message channel agent (MCA) on these platforms:


At the sending end
The alpha characters in all user IDs are converted to uppercase, if there is no message exit installed.

At the receiving end
The alpha characters in all user IDs are converted to lowercase, if there is no message exit installed.
Note that the automatic conversions are not carried out if you provide a message exit on UNIX systems and Windows systems for any other reason.
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 » MQMD-USERIDENTIFIER case changes
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.