Author |
Message |
Topic: Can not write message to SYSTEM.COMMAND.INPUT queue |
brandoh
Replies: 3 Views: 2598
|
Forum: IBM MQ API Support Posted: Fri Oct 20, 2006 3:57 am Subject: Can not write message to SYSTEM.COMMAND.INPUT queue |
This is my message set up
MQMessage msg = new MQMessage();
msg.replyToQueueName = replyQName;
msg.messageType = MQC.MQMT_REQUEST;
msg.format = MQC.MQFMT_STRIN ... |
Topic: Read all messages from a queue |
brandoh
Replies: 7 Views: 4763
|
Forum: IBM MQ API Support Posted: Thu Oct 19, 2006 11:52 am Subject: Read all messages from a queue |
I think I have found it, some obscure doc from IBM.
for (int i = 0; i < qDepth; i++){
rcvMessage.clearMessage();
rcvMessage.correlationId = MQC.MQCI_NONE;
... |
Topic: Read all messages from a queue |
brandoh
Replies: 7 Views: 4763
|
Forum: IBM MQ API Support Posted: Thu Oct 19, 2006 11:10 am Subject: Read all messages from a queue |
Also, I should mention that this code is java, and I am using the MQ Base classes for java. |
Topic: Read all messages from a queue |
brandoh
Replies: 7 Views: 4763
|
Forum: IBM MQ API Support Posted: Thu Oct 19, 2006 11:08 am Subject: Read all messages from a queue |
I see the matchOptions in the MQGetMessageOptions fields, but I see no method to set them to 0. How is this done? |
Topic: Read all messages from a queue |
brandoh
Replies: 7 Views: 4763
|
Forum: IBM MQ API Support Posted: Thu Oct 19, 2006 10:52 am Subject: Read all messages from a queue |
Sorry for all of the dumb questions, but is there any pseudo code or code snippets out there for reading all messages from a queue? I am putting a command on SYSTEM.COMMAND.INPUT and then trying to r ... |
Topic: Help putting message to SYSTEM.COMMAND.INPUT queue |
brandoh
Replies: 1 Views: 2731
|
Forum: IBM MQ API Support Posted: Thu Oct 19, 2006 5:39 am Subject: Help putting message to SYSTEM.COMMAND.INPUT queue |
I am able to put a message on SYSTEM.COMMAND.INPUT
msg.writeUTF("DISPLAY QL(COLLATERAL.TO.DTCC.DEV0) CURDEPTH");
but the message data on the reply queue is :
CSQN205I COUNT= 1, ... |
Topic: Can not write message to SYSTEM.COMMAND.INPUT queue |
brandoh
Replies: 3 Views: 2598
|
Forum: IBM MQ API Support Posted: Wed Oct 18, 2006 12:05 pm Subject: Can not write message to SYSTEM.COMMAND.INPUT queue |
That seems to work, thanks for the info. |
Topic: Can not write message to SYSTEM.COMMAND.INPUT queue |
brandoh
Replies: 3 Views: 2598
|
Forum: IBM MQ API Support Posted: Wed Oct 18, 2006 11:42 am Subject: Can not write message to SYSTEM.COMMAND.INPUT queue |
Since the MS0B support pac does not support MQ6 on ZOS yet, I am trying to write a java program to put a command on the SYSTEM.COMMAND.INPUT queue and read the response off of the ReplyToQueue I speci ... |