|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQSC Command syntax using COBOL on OS/390 |
« View previous topic :: View next topic » |
Author |
Message
|
MRAhmed |
Posted: Sun Sep 07, 2003 7:18 am Post subject: MQSC Command syntax using COBOL on OS/390 |
|
|
Newbie
Joined: 03 Sep 2003 Posts: 5
|
Hi,
I want to get the listing of all the Qs(and some of their attribs) in a QM on OS/390 using COBOL.
All I could reach upto was getting all the Q names i.e. put the command 'DISPLAY QUEUE(*)' on the system command input q and get the list of qs in the reply to q as one message for each q.
However I wanted to get the attributes CURDEPTH, PUT and GET too. I've tried something like:
'DISPLAY QUEUE(*) CURDEPTH,PUT,GET'. But this givest the same result as 'DISPLAY QUEUE(*)'. (The message length is kept as 65536. I guess that is sufficiently long)
Can some one provide the syntax for the MQSC command for getting the additional attributes of a Q? Please help.
Thanks,
Riyaz. |
|
Back to top |
|
 |
EddieA |
Posted: Sun Sep 07, 2003 9:27 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
As posted in my other reply, as long as the command is valid when issued manually, it's valid through the command interface. The one you have given is valid.
When you say the length is 65536, do you mean the size of the message you are sending to the interface. Are you sure that all of the trailing 65503 characters are spaces and also the 'spaces' in the command really are.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
MRAhmed |
Posted: Mon Sep 08, 2003 1:07 am Post subject: |
|
|
Newbie
Joined: 03 Sep 2003 Posts: 5
|
Finally got what I wanted. The syntax was correct. Only that the buffer length of the put message was not changed after changing the put message. Silly
Thanks a lot for all the help. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|