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 » WebSphere Message Broker (ACE) Support » check for the queue on the Qmanager in MQSI

Post new topic  Reply to topic
 check for the queue on the Qmanager in MQSI « View previous topic :: View next topic » 
Author Message
ramki
PostPosted: Thu Feb 07, 2002 2:21 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Sep 2001
Posts: 28


Is there a way to check for the queue on the Qmanager. I want to perform this check from MQSI in a node. If the Queue in the Qmanager is not present than I need to create the queue and then send the transformed data to the queue.
Back to top
View user's profile Send private message Yahoo Messenger
amigupta1978
PostPosted: Thu Feb 07, 2002 2:55 pm    Post subject: Reply with quote

Centurion

Joined: 22 Jan 2002
Posts: 132
Location: India

Hi,
Yes you can check whether that queue is present or not, by just putting the message on ur Queue and and then check the exception List to see what reason code is returned. If the reason code is Object not found then it means that queue is not present.
Regarding creating the queue I am not quite sure but u can achieve this by sending the PCF command to SYSTEM.ADMIN.COMMAND.QUEUE. There is some MRM format in which you have to send that message but I dont know the exact way how to do it.
Amit
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
ramki
PostPosted: Thu Feb 07, 2002 3:04 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Sep 2001
Posts: 28

Thank you very much for the suggestion!
How do we run runmqsc commands im MQSI node. Is there any commandNode etc to run the runmqsc commands

Regards
Back to top
View user's profile Send private message Yahoo Messenger
amigupta1978
PostPosted: Thu Feb 07, 2002 3:29 pm    Post subject: Reply with quote

Centurion

Joined: 22 Jan 2002
Posts: 132
Location: India

No there is no command node to run runmqsc commands. All I know is if u want to issue some MQ commands u can actually give a PCF message to SYSTEM.ADMIN.COMMAND.QUEUE. U can give a message to this queue in MQSI but for that u must know about the PCF commands. There is some particular MRM structure which u have to construct and then fill that structure with appropriate values and then give the message to the SYSTEM.ADMIN.COMMAND.QUEUE. For more information u have to see the PCF programming guide but how to do in MQSI I dont exactly know the structure. I just remeber using one such structure for a different thing in my previous project.
Quote:

On 2002-02-07 15:04, ramki wrote:
Thank you very much for the suggestion!
How do we run runmqsc commands im MQSI node. Is there any commandNode etc to run the runmqsc commands

Regards
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
ramki
PostPosted: Thu Feb 07, 2002 3:42 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Sep 2001
Posts: 28

Can you point me to the good documentation and example on
"PCF programming". I need to create the Queue on the qManager from MQSI
Back to top
View user's profile Send private message Yahoo Messenger
ramki
PostPosted: Fri Feb 08, 2002 7:30 am    Post subject: Reply with quote

Apprentice

Joined: 25 Sep 2001
Posts: 28

Thanks in advance for the help on this.
Is there any example or steps to be followed etc listed somewhere on a PCF message creation. Please let me know any clues or suggestions on this problem.

Thanks again!
Back to top
View user's profile Send private message Yahoo Messenger
kirani
PostPosted: Fri Feb 08, 2002 11:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I think you will have to build one MQCFH header into your message. Please refer to "MQSeries Programmable System Management" book for more information. Chapter 10 in this book has some examples about creating PCF commands using MQI.

Regards,
Kiran
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » check for the queue on the Qmanager in MQSI
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.