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 » Search

 Search found 8 matches
Author Message
  Topic: Can not write message to SYSTEM.COMMAND.INPUT queue
brandoh

Replies: 3
Views: 2598

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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 ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.