Posted: Tue May 25, 2004 8:30 am Post subject: Alternate User Id
Disciple
Joined: 10 Feb 2004 Posts: 160
Hi,
I am trying to put a message using alternate user authority.
I am logged in as 'x' and I try to put the msg ad 'y' , I see that the MQMD header has the user id as 'y' when I debug. But the problem is I see the reply for the message I have sent has user id 'x' as it says 'x' does not have authority to execute the program.
1. I have checked the alternate user id attribute in the MQOutput Node.
2. My code is SET OutputRoot.MQMD.UserIdentifier = 'y';
3. I am using amqsput to put the message.
Do you think I should make some modifications to the put program?
Do you think I am doing a mistake or forgot something?
I Appreciate your replies.
Thanks
Thanks Jeff and JT
It worked.
Because I wanted to to put the messages finally to a Remote Definition Queue, I had to write two flows
1. The first flow puts the message on a local queue(MQOutput) and I have set the Message context to 'Set Identity'.
2. The second flow picks the messages from the above queue and puts it to a remote definition queue.
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