Author |
Message
|
nanibala |
Posted: Fri Dec 10, 2004 2:50 am Post subject: PCF command execution from flow.. |
|
|
Newbie
Joined: 10 Dec 2004 Posts: 6
|
Hi,
I am trying to execute PCF command to change the queue
attribute to GET(INHIBIT) from WBIMB flow.
When i set the MQMD parameters in compute node it puts
the message to SYSTEM.ADMIN.COMMAND.QUEUE.
When the command server is started, it picks up the
message from SYSTEM.ADMIN.COMMAND.QUEUE.
But the queue attribute is not changed as expected.
Instead it puts the message into dead letter queue.
Any one has tried this earlier. it would be a greate
help ,if i get the MQMD values to be set to process
alter Queue as PCF command.
Thanks in advance,
Regards,
Bala. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Dec 10, 2004 4:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
All messages in the Dead Letter Queue have reason codes attached to tell you why they ended up in the DLQ. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
nanibala |
Posted: Fri Dec 10, 2004 5:55 am Post subject: |
|
|
Newbie
Joined: 10 Dec 2004 Posts: 6
|
Hi,
Thanks for the message.I am getting the MQDLH reason code as 2035 (Not Authorized).I have seen this error in AMQError1.log.
I am putting message in Win Xp remote queue , and pointing to local queue in Sunsolaris for the broker to pick up.
I checked the and thought that it may be because of USER ID authorization.So i configured the user ID in MCA USER of Server connection channel parameter.
But still getting the same error as 2035.
Any idea on this issue??
Thanks & Regards,
Bala. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Dec 10, 2004 6:29 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Is the userid on the message the same as the userid set on the MCA?
It's probably actually set to the userid of the broker service user. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Fri Dec 10, 2004 12:19 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Does the same PCF command work if you put the message outside of WBIMB...
Stop the command server and do amqsbcg and see what the MQMD is, that might give some clue on the userid |
|
Back to top |
|
 |
kirani |
Posted: Fri Dec 10, 2004 11:51 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Take a look at MQDisable plug-in node. You can use this to inhibit the queue within message flow. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
nanibala |
Posted: Mon Dec 13, 2004 9:18 am Post subject: Works fine. |
|
|
Newbie
Joined: 10 Dec 2004 Posts: 6
|
Hi all,
It worked fine.Yes there was no user ID when i put a message from client environment.I tried to put a message from local system, where the message flow,Broker was deployed.It has with user ID and it works fine now.
Thanks a lot for all the help. |
|
Back to top |
|
 |
Bosco |
Posted: Thu Dec 16, 2004 6:45 pm Post subject: |
|
|
Novice
Joined: 30 Nov 2003 Posts: 17
|
Could you post a sample of your PCF commands code in ESQL. I try to figure out how to do it but couldn't find any example
Thanks
Bosco |
|
Back to top |
|
 |
|