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 Discussion » SYSTEM.ADMIN.COMMAND.QUEUE

Post new topic  Reply to topic
 SYSTEM.ADMIN.COMMAND.QUEUE « View previous topic :: View next topic » 
Author Message
sraghura
PostPosted: Wed Jun 14, 2006 7:18 am    Post subject: SYSTEM.ADMIN.COMMAND.QUEUE Reply with quote

Newbie

Joined: 12 Sep 2005
Posts: 7

Hi

I am using Websphere MQ(V5.3) on AS/400(v5r2) . I have a queue manager DUMMY that is Active, the Command Server is also Active.

I want to know how to issue the commands so that it can be processed.

I just put a command CRTMQMQ QNAME(TEST2) QTYPE(*LCL) as a message in the SYSTEM.ADMIN.COMMAND.QUEUE and expected the new queue TEST2 to be created . But it landed up in Dead letter queue with reason code 2029.

Please let me know where I am going wrong, and the right syntax to issue commands in SYSTEM.ADMIN.COMMAND.QUEUE.
Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 14, 2006 10:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I think it is only on zOs that the Command Queue accepts text messages. I think on AS/400 you have to issue PCF messages to the command queue.

But your reason code says there is also something else wrong with your code. You are sending a datagram message and not a request message.
Quote:
2029 (X'07ED')
MQRC_MSG_TYPE_ERROR
Explanation:

Either:

* On an MQPUT or MQPUT1 call, the value specified for the MsgType field in the message descriptor (MQMD) is not valid.
* A message processing program received a message that does not have the expected message type. For example, if the WebSphere MQ command server receives a message which is not a request message (MQMT_REQUEST) then it rejects the request with this reason code.

Completion Code:

MQCC_FAILED
Programmer Response:

Specify a valid value for the MsgType field. In the case where a request is rejected by a message processing program, refer to the documentation for that program for details of the message types that it supports.

_________________
I am *not* the model of the modern major general.
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 Discussion » SYSTEM.ADMIN.COMMAND.QUEUE
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.