Fichtner,

Look the command 'amqmdain' in mq admin guide. An example create
script:

crtmqm -lc -lf 1024 -lp 5 -ls 15 -u SYSTEM.DEAD.LETTER.QUEUE QM1
amqmdain auto QM1
amqmdain crtchi QM1 SYSTEM.CHANNEL.INITQ
amqmdain crtlsr QM1 -t TCP -p 1414
amqmdain reg QM1 -c add -s TCP -v KeepAlive=Yes

HTH,

Tibor

----

> For developing and testing it is nice to have a bunch of scripts which create queue
> managers and everything that's needed for communication between them. What I'm
> using is mainly the scripts dropped by SAVEQMGR in conjunction with a batch file
> that creates everything I want. However, the only thing I'm not able to create via
> scripts is the listener service (of course I could run it in a dos shell).

> Q.: Is there a way of creating services under NT via script?

> Thanks,
> Enrico

> Instructions for managing your mailing list subscription are provided in
> the Listserv General Users Guide available at http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to