Author |
Message
|
serpota |
Posted: Wed Jun 11, 2008 11:43 am Post subject: RUNMQTRM at version 6 |
|
|
Voyager
Joined: 26 May 2006 Posts: 85
|
I have some (triggered) code that runs OK
when trigger monitor is started from command line :
start runmqtrm -m QMN -q MIRRORQ.TRIGGER
OK - now I want it to start that trigger monitor (runmqtrm)
as Queue Manager comes up ...
Problem : MQ v5.3 MQ Services is gone !
I have coded
TRIGGER +
TRIGTYPE(EVERY) +
TRIGDPTH(1) +
TRIGMPRI(0) +
TRIGDATA(' ') +
PROCESS('SNDRSP') +
INITQ('QT2') +
But when a message is put into QL2,
no trigger message goes into its init-q, here "QT2"
What can be the problem ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 11, 2008 3:04 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Look at the service definition on V6. (runmqsc)
You need to have a trigger monitor running on the initq for triggering to happen.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
serpota |
Posted: Wed Jun 11, 2008 3:24 pm Post subject: |
|
|
Voyager
Joined: 26 May 2006 Posts: 85
|
FJB : I just said "I want to start the trigger monitor with q manager"
Yes, it has to be waiting on the init-q ...
But can you explain a bit more ... "service definition on v6" ?
The word "RUNMQTRM" is not present in the "MQSC command reference",
aca "SC34-6597-00" ...
Any pointer to Google, please ? |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jun 11, 2008 5:40 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
The word "RUNMQTRM" is not present in the "MQSC command reference", |
runmqsc is a control command; and it is documented in the WMQ System Administration manual _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
AkankshA |
Posted: Wed Jun 11, 2008 7:53 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
|
Back to top |
|
 |
vinbud117 |
Posted: Wed Jun 11, 2008 11:05 pm Post subject: |
|
|
Acolyte
Joined: 22 Jul 2005 Posts: 61
|
As fjb_saper mentions, you need create a SERVICE. Run the following mqsc command
DEFINE SERVICE(TRIG_MON_START) +
CONTROL(QMGR) +
SERVTYPE(SERVER) +
STARTCMD(’runmqtrm’) +
STARTARG(’-m +QMNAME+ -q "QT2"’)
Read more about SERVICE in the System admin. |
|
Back to top |
|
 |
serpota |
Posted: Thu Jun 12, 2008 1:46 am Post subject: |
|
|
Voyager
Joined: 26 May 2006 Posts: 85
|
mr VINBUD - I see you did understand my needs : a sample.
I have used Services in v 5.3, and not in v6, obviously.
Thanks to all, twice as much to you, mr vinbud. |
|
Back to top |
|
 |
|