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 » RUNMQTRM at version 6

Post new topic  Reply to topic
 RUNMQTRM at version 6 « View previous topic :: View next topic » 
Author Message
serpota
PostPosted: Wed Jun 11, 2008 11:43 am    Post subject: RUNMQTRM at version 6 Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 11, 2008 3:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
serpota
PostPosted: Wed Jun 11, 2008 3:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Wed Jun 11, 2008 5:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
AkankshA
PostPosted: Wed Jun 11, 2008 7:53 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

RUNMQTRM is not an MQSC command... its a control command


WebSphere® MQ Application Programming Guide.


http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqzag.doc/fa15970_.htm
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
vinbud117
PostPosted: Wed Jun 11, 2008 11:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
serpota
PostPosted: Thu Jun 12, 2008 1:46 am    Post subject: Reply with quote

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
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 » RUNMQTRM at version 6
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.