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 IBM MQ Support » MQSC Command syntax using COBOL on OS/390

Post new topic  Reply to topic
 MQSC Command syntax using COBOL on OS/390 « View previous topic :: View next topic » 
Author Message
MRAhmed
PostPosted: Sun Sep 07, 2003 7:18 am    Post subject: MQSC Command syntax using COBOL on OS/390 Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Sun Sep 07, 2003 9:27 am    Post subject: Reply with quote

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
View user's profile Send private message
MRAhmed
PostPosted: Mon Sep 08, 2003 1:07 am    Post subject: Reply with quote

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
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 IBM MQ Support » MQSC Command syntax using COBOL on OS/390
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.