Posted: Wed Oct 18, 2006 11:42 am Post subject: Can not write message to SYSTEM.COMMAND.INPUT queue
Newbie
Joined: 18 Oct 2006 Posts: 8
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 specify.
I am getting a 2042 Object in Use during the accessQueue method. I have set the open options to MQC.MQOO_INPUT_SHARED | MQC.MQOO_OUTPUT.
When I look in the ISPF panels, there is an open input count on the queue. How do I get around this? Do the ISPF panels (CSQOREXX) put messages on that queue in exclusive mode?
You shouldn't need to open that queue for INPUT at all, just for OUTPUT.
You're going to put a message on the queue, and the command server is going to read that message and put a reply message on the ReplyTo queue in that message. _________________ I am *not* the model of the modern major general.
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