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 » IBM MQ Installation/Configuration Support » Programmatic Configuration

Post new topic  Reply to topic
 Programmatic Configuration « View previous topic :: View next topic » 
Author Message
andyks
PostPosted: Mon Dec 29, 2003 12:16 pm    Post subject: Programmatic Configuration Reply with quote

Newbie

Joined: 29 Dec 2003
Posts: 1

I want to create QManagers and local queues and listeners programmatically and on the fly.

The environment concerned is exclusively W2K, XP & W2K3. The version of MQ is 5.1(CSD006).

This it seems to me should be easy but for the life of me I cannot find a way doing this prorammatically. The additional constraints are that I cannot use Java, I can if required recompile it to J# but best would be a C# solution. This could involve interfacing with ADSI but where is the documentation!

TIA
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Dec 29, 2003 1:04 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You should not be using 5.1 for any new installations. It's out of support, and 5.2 is going out of support Real Soon Now (or Not Too Long Ago).

That said, you should be able to use any standard 'invoke a process' function to run crtmqm, even on 5.1.

And then you can create MQSC files that get piped into runmqsc to be executed to create any objects (queues, channels, etc) that you need.

From any language of your choice that allows you to read and write to files, and launch external programs.

I believe crtmqm is documented in the System Administration Guide (or possibly one of the "Installation" or "Quick Beginnings" guides).

MQSC commands are documented in the Script manual (for 5.3), and in the older System Administration guides, I believe.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Mon Dec 29, 2003 1:32 pm    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

That will create them, but I dont think it adds them to the MQServices, especially the listener process
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Mon Dec 29, 2003 1:49 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

mrlinux wrote:
That will create them, but I dont think it adds them to the MQServices, especially the listener process


Erm. Good point.

Well, if he were using 5.3, he could use amqmdain.
_________________
I am *not* the model of the modern major general.
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 » IBM MQ Installation/Configuration Support » Programmatic Configuration
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.