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 » Mqmon user data field into trigger Popup

Post new topic  Reply to topic
 Mqmon user data field into trigger Popup « View previous topic :: View next topic » 
Author Message
pcouas
PostPosted: Tue Sep 06, 2011 12:39 am    Post subject: Mqmon user data field into trigger Popup Reply with quote

Voyager

Joined: 06 Sep 2011
Posts: 79

Hi,

Could i use "User Data" field from Trigger popup into MQMON tools to add arguments if "Environnement Data" field is Full ?

Regards
Philippe
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Sep 06, 2011 1:50 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

i dont think so. or even if, it depends on plattform and trigger monitor used.

whatever you add in this attribute is passed to the trigger monitor in the proper data structures (mqtm*, see application programmers reference).

you must make sure the trigger monitor uses this data the way you want it. there is a section about the trigger monitors in the application programmers guide that also describes how the data passed is used.

what happens if you try?
_________________
Regards, Butcher
Back to top
View user's profile Send private message
pcouas
PostPosted: Tue Sep 06, 2011 8:42 pm    Post subject: Reply with quote

Voyager

Joined: 06 Sep 2011
Posts: 79

Hi,

I have an sh script and aprameters are in Environnement Data field, when i add parameters into users data . I could see first sh parameter with all comand line with shname, QueueManagerName and all parameters Environnement Data + User Data.
I use Solaris10

Regards
Philippe
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Sep 06, 2011 10:57 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

i have lots of sh scripts too, and so do others (will say "dont understand your post at all")

what is this script for? what exactly do you see? and if you see what you expect to see, why do you ask? does it work or not?
_________________
Regards, Butcher
Back to top
View user's profile Send private message
pcouas
PostPosted: Wed Sep 07, 2011 2:53 am    Post subject: Reply with quote

Voyager

Joined: 06 Sep 2011
Posts: 79

Hi,

In MQMON Trigger Popup in field "Application" i have an personal shell script.
This script use parameter from field "Environnement Data", this field isnt largest for all my parameters, so i want use "User Data" field.
Could i use it for my shell parameters ?
It seems me i could pass argument comming from "User Data" field, but i am not sure.
MQ is running on Solaris and Linux.

Regards
Philippe
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 07, 2011 3:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Are you asking if it's possible to do this?

Or are you asking if it is a good idea to do this?

The default trigger monitor puts everything that is put into an MQTMC structure in the trigger message on the XMITQ into an MQTMC2 structure that it passes on the command line to the triggered program that it starts.

IF you are using the default trigger monitor, then that tells you everything you need to know about whether it's possible to do this or not.
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 » Mqmon user data field into trigger Popup
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.